Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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.0005211/0.0005211, 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.0004663/0.0004663, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.3478/0.3478, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.02329/0.02329, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval",fmuType="me_cs",version="3.0",platforms={"wasm"}) "" <> buildModelFMU(PowerGrids.Electrical.Test.TestTapChangerLogicInterval,fileNamePrefix="PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval",fmuType="me_cs",version="3.0",platforms={"wasm"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.186e-06/3.186e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/2.06e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(OMLibTestFlagCheck): time 0.0007842/0.0008048, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0001234/0.0009282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.000952, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.0009691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 3.831e-05/0.001007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 8.003e-05/0.001087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 4.184e-05/0.001129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.596e-05/0.001155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 3.285e-05/0.001188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 2.829e-05/0.001216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.001229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 6.171e-06/0.001235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.001249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.001264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 2.79e-05/0.001292, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.001298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.917e-06/0.001302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 8.366e-06/0.001311, 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.0005145/0.001825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/0.001893, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.001964, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.002129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.002149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.002177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.002303, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.002314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.00233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-06/0.002333, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.671e-05/0.00235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003732/0.002723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.002782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.002811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.002821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.002856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=1): time 3.989e-05/0.002895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1): time 0.0001706/0.003066, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.003122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.205e-05/0.003184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.0032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.003249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.003275, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 9.246e-05/0.003367, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004061/0.003774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.003792, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.003811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 5.455e-05/0.003866, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.003868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002301/0.004098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.004121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.004125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.004138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.749e-05/0.004175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.00418, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.004213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.004224, 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.0001641/0.004388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.004423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.004452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.004456, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.004464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.004471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.004745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.004747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.447e-05/0.004772, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.004777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.004791, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.004793, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.004797, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001771/0.004974, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 2.628e-05/0.005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/0.00504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.272e-05/0.005062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 2.413e-05/0.005087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.005094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 5.265e-05/0.005147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 2.274e-06/0.005149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.000817/0.005966, 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.0001162/0.006082, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001144/0.006197, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.006204, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.00622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/0.00695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.007323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 6.83e-05/0.007392, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.759e-05/0.007409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.007455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.000236/0.007691, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0003701/0.008061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.517e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTapChangerLogicInterval): time 0.003293/0.003308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00236/0.005668, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.935e-05/0.005747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 5.626e-05/0.005804, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.006012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.006427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0003583/0.006785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 3.415e-05/0.006819, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0006444/0.007464, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.007825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.007933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 7.541e-05/0.008009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.008158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0003345/0.008492, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0004264/0.008919, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.102e-05/0.00896, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.054e-06/0.008962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 4.699e-06/0.008967, 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.00243/0.0114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.908e-05/0.01147, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004214/0.01189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006245/0.01251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.01277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.001e-05/0.01284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002687/0.01311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003023/0.01613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.01614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/0.01636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.01636, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.01749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.0199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.02109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.02214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.02217, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002898/0.02507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=42): time 7.249e-05/0.02514, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=42): time 0.005311/0.03045, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.305e-05/0.03054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.0308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0002285/0.03103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.03116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.03138, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004742/0.03185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0003695/0.03222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007325/0.03295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009183/0.03387, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.0354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.03541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=55) (initialization): time 0.00211/0.03752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.03755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.03757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.03759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.03787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.03789, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.0384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.03851, 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.0006499/0.03916, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.0396, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/0.04363, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.04364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.04365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.04366, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.04476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.04476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.04493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-05/0.04494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003098/0.04525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/0.04526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.04527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004098/0.04936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0007951/0.05016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/0.05051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005564/0.05107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/0.05227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002635/0.05253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001754/0.05271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 4.98e-06/0.05271, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001265/0.05398, 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.005146/0.05913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002215/0.06134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.06135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001325/0.06267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.06411, 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.01172/0.07582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.07609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003506/0.07644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.07756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0005195/0.07808, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU modelDescription.xml: time 0.001268/0.07935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU model kernel: time 0.002141/0.08149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU translated model: time 0.02774/0.1092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU component link: time 8.095e-06/0.1092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU precompile: time 1.215e-05/0.1092, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FMU write (0 MB unzipped): time 0.0001852/0.1094, 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_dev_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_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_res.mat",resimulateExecutable="PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_dev_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_dev_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_dev_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_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_me_res.mat -s fmi3:me:daskr",resimulateExecutable="PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_dev_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_dev_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_dev_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_dev_PowerGrids.Electrical.Test.TestTapChangerLogicInterval_cs_res.mat -s fmi3:cs",resimulateExecutable="PowerGrids_dev_PowerGrids_Electrical_Test_TestTapChangerLogicInterval.fmu") [Timeout 240] "" [Timeout remaining time 240] diffSimulationResults("PowerGrids_dev_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_dev_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.4357629009755328]