Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001586/0.001587, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 221.8 MB, free: 8.488 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 104.2 kB / 269.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05639/0.05639, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 51.92 kB / 393.7 MB, free: 62.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09227, allocations: 50.15 MB / 443.8 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.0026/0.09491, allocations: 1.925 MB / 445.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.09597, allocations: 0.8231 MB / 446.6 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.59e-05/0.09607, allocations: 7.938 kB / 446.6 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.09628, allocations: 43.81 kB / 446.6 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.068e-05/0.09638, allocations: 51.75 kB / 446.7 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.09685, allocations: 191.2 kB / 446.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.09705, allocations: 235.4 kB / 447.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.09717, allocations: 48.22 kB / 447.1 MB, free: 9.336 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.09727, allocations: 95.61 kB / 447.2 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.0974, allocations: 111.5 kB / 447.3 MB, free: 9.133 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.09744, allocations: 12 kB / 447.4 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.09756, allocations: 83.88 kB / 447.4 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.352e-05/0.09763, allocations: 39.84 kB / 447.5 MB, free: 9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.374e-05/0.09771, allocations: 91.39 kB / 447.6 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.09793, allocations: 247.2 kB / 447.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.09794, allocations: 7.938 kB / 447.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.09795, allocations: 0 / 447.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.09796, allocations: 0 / 447.8 MB, free: 8.66 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007667/0.09873, allocations: 0.5704 MB / 448.4 MB, free: 8.035 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.09877, allocations: 12.03 kB / 448.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.09883, allocations: 24.66 kB / 448.4 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.0991, allocations: 290.7 kB / 448.7 MB, free: 7.672 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.09912, allocations: 12.31 kB / 448.7 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.09916, allocations: 12.38 kB / 448.7 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.09968, allocations: 265.3 kB / 449 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.0997, allocations: 4 kB / 449 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.09972, allocations: 4 kB / 449 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.09973, allocations: 8 kB / 449 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006453/0.1004, allocations: 223.7 kB / 449.2 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008276/0.1012, allocations: 0.865 MB / 450.1 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/0.102, allocations: 285 kB / 450.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003795/0.1024, allocations: 141.7 kB / 450.5 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.1024, allocations: 4 kB / 450.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/0.1029, allocations: 238.5 kB / 450.7 MB, free: 5.488 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.1029, allocations: 0 / 450.7 MB, free: 5.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001174/0.1041, allocations: 478.8 kB / 451.2 MB, free: 5.008 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1042, allocations: 162.2 kB / 451.4 MB, free: 4.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1043, allocations: 241 kB / 451.6 MB, free: 4.566 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1043, allocations: 29.7 kB / 451.6 MB, free: 4.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.1044, allocations: 148.2 kB / 451.8 MB, free: 4.383 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1045, allocations: 55.3 kB / 451.8 MB, free: 4.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-05/0.1045, allocations: 41.7 kB / 451.9 MB, free: 4.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.485e-05/0.1046, allocations: 334.8 kB / 452.2 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.1049, allocations: 129 kB / 452.3 MB, free: 3.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.1053, allocations: 190.6 kB / 452.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006667/0.106, allocations: 333.7 kB / 452.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.106, allocations: 0 / 452.8 MB, free: 3.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008415/0.1069, allocations: 408.6 kB / 453.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.1069, allocations: 41.69 kB / 453.3 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1069, allocations: 3.938 kB / 453.3 MB, free: 2.789 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1069, allocations: 4 kB / 453.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.1072, allocations: 60.06 kB / 453.3 MB, free: 2.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1072, allocations: 7.938 kB / 453.4 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002122/0.1074, allocations: 43.81 kB / 453.4 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.1075, allocations: 12 kB / 453.4 MB, free: 2.664 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001715/0.1076, allocations: 168.2 kB / 453.6 MB, free: 2.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001419/0.1078, allocations: 132.5 kB / 453.7 MB, free: 2.336 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002476/0.1081, allocations: 234.1 kB / 453.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.193e-06/0.1081, allocations: 0 / 453.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000371/0.1084, allocations: 294.9 kB / 454.2 MB, free: 1.77 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1085, allocations: 37.69 kB / 454.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-06/0.1085, allocations: 0 / 454.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/0.1085, allocations: 7.938 kB / 454.3 MB, free: 1.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.1086, allocations: 35.97 kB / 454.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.1086, allocations: 3.938 kB / 454.3 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.1088, allocations: 32.05 kB / 454.3 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1088, allocations: 8 kB / 454.3 MB, free: 1.641 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (inputSignal.nextEventScaled,inputSignal.nextEvent,$PRE.inputSignal.nextEvent,inputSignal.last,inputSignal.b,inputSignal.a,$whenCondition1,integrator2.I.local_reset,integrator1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 9.216e-05/0.1089, allocations: 230.3 kB / 454.6 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.1089, allocations: 19.81 kB / 454.6 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.741e-05/0.109, allocations: 33.75 kB / 454.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.109, allocations: 4 kB / 454.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.109, allocations: 0 / 454.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.109, allocations: 0 / 454.6 MB, free: 1.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.1092, allocations: 301.3 kB / 454.9 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1092, allocations: 0 / 454.9 MB, free: 1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002735/0.1095, allocations: 51.88 kB / 455 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1095, allocations: 4 kB / 455 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.1095, allocations: 7.938 kB / 455 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1095, allocations: 4 kB / 455 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1096, allocations: 0 / 455 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005137/0.1147, allocations: 2.977 MB / 458 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-05/0.1148, allocations: 100.8 kB / 458.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.1148, allocations: 4 kB / 458.1 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.115, allocations: 35.97 kB / 458.1 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.463e-05/0.1152, allocations: 32.02 kB / 458.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-05/0.1152, allocations: 8 kB / 458.1 MB, free: 13.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.1154, allocations: 176.5 kB / 458.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1154, allocations: 3.938 kB / 458.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006148/0.116, allocations: 127.8 kB / 458.4 MB, free: 13.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator1.I.y,integrator2.I.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0002264/0.1162, allocations: 119.4 kB / 458.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.1174, allocations: 0.5455 MB / 459.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1175, allocations: 0 / 459.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.1179, allocations: 240 kB / 459.3 MB, free: 12.35 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.1184, allocations: 58.22 kB / 459.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.1196, allocations: 0.7487 MB / 460.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1199, allocations: 0.7482 MB / 460.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001363/0.1201, allocations: 29.53 kB / 460.9 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.1202, allocations: 19.44 kB / 460.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1202, allocations: 4 kB / 460.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of Templates: time 0.007611/0.1278, allocations: 4.295 MB / 465.2 MB, free: 6.371 MB / 314.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)