Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0005822/0.0005822, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0004277/0.0004277, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.2813/0.2813, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.01858/0.01858, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTapChangerLogicInterval",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,fileNamePrefix="PowerGrids_PowerGrids_Electrical_Test_TestTapChangerLogicInterval",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.786e-06/2.786e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.714e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(OMLibTestFlagCheck): time 0.0007067/0.0007239, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 8.647e-05/0.0008104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.256e-05/0.0008229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 8.646e-06/0.0008316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 1.932e-05/0.0008509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 4.831e-05/0.0008992, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 2.659e-05/0.0009258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.043e-05/0.0009462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 2.152e-05/0.0009677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 2.215e-05/0.0009899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.001001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 5.24e-06/0.001006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.001019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.304e-05/0.001032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 2.653e-05/0.001058, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.001064, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.476e-06/0.001068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 7.764e-06/0.001075, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004814/0.001557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.00162, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.001682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.001842, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.00186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.001887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.002009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.002019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.002034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-06/0.002037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.642e-05/0.002053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.002396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 5.221e-05/0.002449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.002478, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 9.679e-06/0.002488, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.002522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=1): time 3.948e-05/0.002561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1): time 0.0001548/0.002716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.002768, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.073e-05/0.002829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.002845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.002893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.002921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-05/0.003009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002042/0.003214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/0.003231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.003249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 4.996e-05/0.003299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.003301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002158/0.003517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.003538, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.003542, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.003555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.108e-05/0.003586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.00359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.003622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.003631, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.00376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.003787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.003814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.003817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.003824, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.00383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.004067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.004069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.201e-05/0.004091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.004094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.004107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.00411, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.004113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.004271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.004297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.004336, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.048e-05/0.004356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/0.004379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.004386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001668/0.004553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.334e-06/0.004555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0008018/0.005357, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000109/0.005466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001014/0.005567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.59e-06/0.005573, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.469e-05/0.005587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007034/0.006291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.006532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 6.616e-05/0.006598, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.661e-05/0.006615, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 4.064e-05/0.006656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0002256/0.006881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0003215/0.007203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.3e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicInterval): time 0.003286/0.003299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.002275/0.005574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.005651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 4.968e-05/0.005701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.005921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.006338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0003739/0.006712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 3.343e-05/0.006746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0006099/0.007356, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.007703, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.007814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 7.672e-05/0.00789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.008044, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.008385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.008828, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.094e-05/0.008869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.004e-06/0.008871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 5.16e-06/0.008876, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.002356/0.01123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 8.118e-05/0.01131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004332/0.01175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000622/0.01237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.01262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.01269, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.01297, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.01604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.01605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002131/0.01626, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.01627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.0174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002406/0.01981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.02099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.02205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.02208, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00291/0.02499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=42): time 6.832e-05/0.02506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=42): time 0.005143/0.0302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.03028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.03056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000225/0.03078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.03088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.03111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004852/0.03159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.000255/0.03185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/0.03261, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.03369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.03525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.03526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=55) (initialization): time 0.002148/0.03741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/0.03745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.03746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.03748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.03777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.03778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005235/0.03831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/0.03842, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 7 variables: locked:DISCRETE(start = lockedStart fixed = true ) \"whether the tap-changer/phase-shifter is locked\" type: Boolean valueUnderMin:DISCRETE(start = false fixed = true protected = true ) \"true if the monitored signal is under the minimum limit\" type: Boolean valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"true if the monitored signal is above the maximum limit\" type: Boolean tValueUnderMinWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal went under the minimum limit and the tap-changer/phase-shifter is running\" type: Real tValueAboveMaxWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal went above the maximum limit and the tap-changer/phase-shifter is running\" type: Real tValueInRangeWhileRunning:DISCRETE(start = 1e60 unit = \"s\" fixed = true protected = true ) \"time when the monitored signal comes back into the [valueMin ; valueMax] range and the tap-changer/phase-shifter is running\" type: Real running:DISCRETE(start = runningStart fixed = true ) \"whether the tap-changer/phase-shifter is running\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (locked,$PRE.locked,$PRE.valueUnderMin,$PRE.valueAboveMax,$PRE.tValueUnderMinWhileRunning,$PRE.tValueAboveMaxWhileRunning,$PRE.tValueInRangeWhileRunning,$PRE.running,tValueInRangeWhileRunning,tValueAboveMaxWhileRunning,tValueUnderMinWhileRunning,valueInRange,tTapMoved,$PRE.tTapMoved,lookingToDecreaseTap,lookingToIncreaseTap,tap,$PRE.tap,state,$PRE.state,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition29,$whenCondition28,$whenCondition27,$whenCondition26,$whenCondition25,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,valueAboveMax,valueUnderMin,running) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006601/0.03908, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004533/0.03954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.04358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.04359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.0436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.04361, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.04466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.04467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.04481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.04482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/0.04505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.04506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.04506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004094/0.04916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0007784/0.04993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003465/0.05028, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/0.05081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/0.05198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00026/0.05224, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001616/0.0524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.599e-06/0.05241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001246/0.05365, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition27,$whenCondition28,$whenCondition29,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,state,locked,tap,lookingToIncreaseTap,lookingToDecreaseTap,tTapMoved,valueUnderMin,valueAboveMax,valueInRange,tValueUnderMinWhileRunning,tValueAboveMaxWhileRunning,tValueInRangeWhileRunning) * Number of discrete states: 9 (tValueInRangeWhileRunning,tValueAboveMaxWhileRunning,tValueUnderMinWhileRunning,tap,valueUnderMin,valueAboveMax,locked,state,tTapMoved) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005145/0.0588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.00225/0.06105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.06105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001352/0.0624, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/0.06382, allocations: 0 / 0, free: 0 / 0 Warning: Can't process flag \"emit_protected:\". Seperate flag name and flag value with \":\". Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.0755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.07576, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003459/0.07611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/0.07725, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0004519/0.0777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.001257/0.07895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.002011/0.08096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.02102/0.102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 6.312e-06/0.102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.02e-05/0.102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0001578/0.1022, allocations: 0 / 0, free: 0 / 0 Notification: Building FMU for platform 'wasm' (1/1). Notification: Finished FMU for platform 'wasm' (1/1). " [Timeout remaining time 660] simulate(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,startTime=0,stopTime=80,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",variableFilter="Ntap|U|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tToStandardState|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval",simflags=" -emit_protected=() -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=80 -tolerance=1e-06 -stepSize=0.16 -r=PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat",resimulateExecutable="PowerGrids_PowerGrids_Electrical_Test_TestTapChangerLogicInterval.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches simulate(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,startTime=0,stopTime=80,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",variableFilter="Ntap|U|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tToStandardState|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval",simflags=" -emit_protected=() -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=80 -tolerance=1e-06 -stepSize=0.16 -r=PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_me_res.mat -s fmi3:me:daskr",resimulateExecutable="PowerGrids_PowerGrids_Electrical_Test_TestTapChangerLogicInterval.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Ntap,U,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tToStandardState,tap,tapMax,tapMin,tapStart,time Variables in the result:Ntap,U,Umax,Umin,__zc_0,__zc_1,__zc_2,__zc_3,__zc_4,__zc_5,__zc_6,__zc_7,__zc_8,actionSel,directAction,locked,lockedStart,reverseAction,running,runningStart,state,stateStart,t1st,tNext,tToStandardState,tap,tapMax,tapMin,tapStart,time simulate(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,startTime=0,stopTime=80,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",variableFilter="Ntap|U|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tToStandardState|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval",simflags=" -emit_protected=() -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=80 -tolerance=1e-06 -stepSize=0.16 -r=PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_cs_res.mat -s fmi3:cs",resimulateExecutable="PowerGrids_PowerGrids_Electrical_Test_TestTapChangerLogicInterval.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_cs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.2965297889895737]