Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.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.0006061/0.0006061, 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.0005558/0.0005558, 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.2894/0.2894, 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.02089/0.02089, 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.TestTapChangerLogicMax,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TestTapChangerLogicMax",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTapChangerLogicMax,fileNamePrefix="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TestTapChangerLogicMax",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.426e-06/3.426e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/2.124e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(OMLibTestFlagCheck): time 0.0007768/0.000798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0001289/0.000927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.819e-05/0.0009452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.0009587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 3.148e-05/0.0009902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 6.981e-05/0.00106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 4.342e-05/0.001103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.501e-05/0.001128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.001163, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.348e-05/0.001197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.001211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 7.233e-06/0.001218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.001233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.001247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 2.962e-05/0.001277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.001284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.328e-06/0.001288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.227e-06/0.001297, 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.0005314/0.001829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.099e-05/0.0019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.001961, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.002133, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.002153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.82e-05/0.002181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.0023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.002312, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.002329, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-06/0.002332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.706e-05/0.002349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.002706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.002763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.002794, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.002804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.002841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=1): time 3.962e-05/0.00288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1): time 0.0001528/0.003033, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.00309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.142e-05/0.003151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.003167, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.827e-05/0.003215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.003241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 9.005e-05/0.003331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004012/0.003732, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.003749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.003767, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.003814, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.003816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 0.000211/0.004027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.00405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.004055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.004068, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.414e-05/0.004102, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.004106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.004138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.004149, 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.0001324/0.004281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.004308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.67e-05/0.004335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.004338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.004345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.004352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.004603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.004606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.269e-05/0.004629, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.004633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.004645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.004649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.004652, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.006195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/0.006205, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.006231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.559e-05/0.006256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.006281, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.006289, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 4.892e-05/0.006338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.184e-06/0.00634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001185/0.007525, 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.0001259/0.007651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001376/0.007788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.007796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.608e-05/0.007812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.008537, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.008937, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 6.838e-05/0.009006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.768e-05/0.009024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.009072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003197/0.009392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0005339/0.009926, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.462e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicMax): time 0.003251/0.003266, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001945/0.005211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.005267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.005309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.005419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.005746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002604/0.006006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 3.003e-05/0.006036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.006441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.006683, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.82e-05/0.006761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 5.481e-05/0.006816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.006927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.000237/0.007164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.007487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 3.04e-05/0.007517, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.174e-06/0.007519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.839e-06/0.007524, 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001724/0.009249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/0.009314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003053/0.009619, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004405/0.01006, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.0103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.01036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/0.01055, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.01258, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.01259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.01274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.01274, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00063/0.01337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.0144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.000648/0.01505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0006194/0.01567, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.01568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002071/0.01775, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=30): time 6.275e-05/0.01781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=30): time 0.003418/0.02123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.0213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.02154, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.000174/0.02172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.02181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.02197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003639/0.02233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0002438/0.02257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/0.02309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006962/0.02379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.0249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.0249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=39) (initialization): time 0.001547/0.02645, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.993e-05/0.02648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.02649, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.02651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.02667, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.02669, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.02707, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/0.02715, allocations: 0 / 0, free: 0 / 0 Warning: Assuming fixed start value for the following 4 variables: locked:DISCRETE(start = lockedStart fixed = true ) \"whether the tap-changer/phase-shifter is locked\" type: Boolean valueUnderStop:DISCRETE(start = false fixed = true protected = true ) \"whether the monitored signal is under the stop limit\" type: Boolean valueAboveMax:DISCRETE(start = false fixed = true protected = true ) \"wheter the monitored signal is above the maximum limit\" type: Boolean 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: 5 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.locked,$PRE.valueUnderStop,$PRE.valueAboveMax,$PRE.running,tValueAboveMaxWhileRunning,$PRE.tValueAboveMaxWhileRunning,tTapMoved,$PRE.tTapMoved,lookingToDecreaseTap,lookingToIncreaseTap,tap,$PRE.tap,state,$PRE.state,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition21,$whenCondition20,$whenCondition19,valueAboveMax,valueUnderStop,locked,running) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0004986/0.02765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.02796, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.02811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.02812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.02812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.02813, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.02892, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.02893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.02901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.02918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.02918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.02919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004644/0.03383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0005732/0.0344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.03467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.03506, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008007/0.03586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001886/0.03605, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001498/0.0362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.368e-06/0.0362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001745/0.03794, 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: 30 ($whenCondition19,$whenCondition20,$whenCondition21,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition18,state,locked,tap,lookingToIncreaseTap,lookingToDecreaseTap,tTapMoved,valueUnderStop,valueAboveMax,tValueAboveMaxWhileRunning) * Number of discrete states: 6 (valueAboveMax,tap,locked,state,valueUnderStop,tTapMoved) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003648/0.04159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.001517/0.04311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.04311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0008731/0.04399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.04526, 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.009862/0.05512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.05548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000264/0.05574, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/0.05654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0007142/0.05726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.001114/0.05837, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.001568/0.05994, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.01939/0.07932, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 7.214e-06/0.07933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.294e-05/0.07934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0001744/0.07952, 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.TestTapChangerLogicMax,startTime=0,stopTime=20,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax",simflags=" -emit_protected=() -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=20 -tolerance=1e-06 -stepSize=0.04 -r=PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat",resimulateExecutable="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TestTapChangerLogicMax.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Ntap,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time Variables in the result:Ntap,actionSel,directAction,locked,lockedStart,lookingToDecreaseTap,lookingToIncreaseTap,reverseAction,running,runningStart,state,stateStart,t1st,tNext,tTapMoved,tValueAboveMaxWhileRunning,tap,tapMax,tapMin,tapStart,time,timeInfinity,valueAboveMax,valueUnderStop simulate(PowerGrids.Electrical.Test.TestTapChangerLogicMax,startTime=0,stopTime=20,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax",simflags=" -emit_protected=() -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=20 -tolerance=1e-06 -stepSize=0.04 -r=PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax_me_res.mat -s fmi3:me:daskr",resimulateExecutable="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TestTapChangerLogicMax.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax_me_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax_me.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Ntap,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time Variables in the result:Ntap,__zc_0,__zc_1,__zc_2,__zc_3,__zc_4,__zc_5,__zc_6,actionSel,directAction,locked,lockedStart,reverseAction,running,runningStart,state,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time simulate(PowerGrids.Electrical.Test.TestTapChangerLogicMax,startTime=0,stopTime=20,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",variableFilter="Ntap|actionSel|directAction|lockedStart|reverseAction|runningStart|stateStart|t1st|tNext|tap|tapMax|tapMin|tapStart|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax",simflags=" -emit_protected=() -alarm=240 -emit_protected -lv LOG_STATS -startTime=0 -stopTime=20 -tolerance=1e-06 -stepSize=0.04 -r=PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax_cs_res.mat -s fmi3:cs",resimulateExecutable="PowerGrids_symb_jac_PowerGrids_Electrical_Test_TestTapChangerLogicMax.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax_cs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTapChangerLogicMax_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTapChangerLogicMax_cs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Ntap,actionSel,directAction,lockedStart,reverseAction,runningStart,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time Variables in the result:Ntap,__zc_0,__zc_1,__zc_2,__zc_3,__zc_4,__zc_5,__zc_6,actionSel,directAction,locked,lockedStart,reverseAction,running,runningStart,state,stateStart,t1st,tNext,tap,tapMax,tapMin,tapStart,time [Calling sys.exit(0), Time elapsed: 1.3215772419935092]