Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001755/0.001755, allocations: 183.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.336/1.336, allocations: 205.1 MB / 221.8 MB, free: 8.469 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.001057/0.001057, allocations: 106.3 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05975/0.05975, allocations: 14.17 MB / 330.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 51.92 kB / 393.7 MB, free: 62.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09455, allocations: 50.14 MB / 443.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.00293/0.09756, allocations: 2.088 MB / 445.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.0987, allocations: 0.8775 MB / 446.8 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.09883, allocations: 7.938 kB / 446.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.09904, allocations: 47.75 kB / 446.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.09923, allocations: 63.73 kB / 446.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.09968, allocations: 207.2 kB / 447.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.09994, allocations: 283.2 kB / 447.4 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.1001, allocations: 80.83 kB / 447.5 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1002, allocations: 107.5 kB / 447.6 MB, free: 8.891 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1004, allocations: 139.4 kB / 447.7 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.1004, allocations: 15.98 kB / 447.7 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1006, allocations: 79.94 kB / 447.8 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.281e-05/0.1007, allocations: 47.77 kB / 447.9 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.1008, allocations: 127.1 kB / 448 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.101, allocations: 307.1 kB / 448.3 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1011, allocations: 8 kB / 448.3 MB, free: 8.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1011, allocations: 0 / 448.3 MB, free: 8.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1011, allocations: 0 / 448.3 MB, free: 8.18 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007946/0.1019, allocations: 0.613 MB / 448.9 MB, free: 7.512 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1019, allocations: 8.031 kB / 448.9 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.357e-05/0.102, allocations: 32.56 kB / 448.9 MB, free: 7.473 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.1023, allocations: 311.5 kB / 449.2 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1023, allocations: 12.38 kB / 449.3 MB, free: 7.113 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.1024, allocations: 20.38 kB / 449.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.1029, allocations: 301.6 kB / 449.6 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.103, allocations: 4 kB / 449.6 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.103, allocations: 4 kB / 449.6 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.103, allocations: 11.94 kB / 449.6 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000594/0.1036, allocations: 232.3 kB / 449.8 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009153/0.1045, allocations: 0.9593 MB / 450.8 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007566/0.1053, allocations: 312.9 kB / 451.1 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.1056, allocations: 149.7 kB / 451.2 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1057, allocations: 11.92 kB / 451.2 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004746/0.1061, allocations: 230.7 kB / 451.5 MB, free: 4.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.1062, allocations: 0 / 451.5 MB, free: 4.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001076/0.1072, allocations: 482.8 kB / 451.9 MB, free: 4.273 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1073, allocations: 166.2 kB / 452.1 MB, free: 4.074 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.1075, allocations: 258.6 kB / 452.4 MB, free: 3.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1075, allocations: 33.7 kB / 452.4 MB, free: 3.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.1076, allocations: 164.4 kB / 452.5 MB, free: 3.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.296e-05/0.1076, allocations: 67.02 kB / 452.6 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.1077, allocations: 53.69 kB / 452.7 MB, free: 3.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.1078, allocations: 338.8 kB / 453 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.1081, allocations: 128.8 kB / 453.1 MB, free: 3.012 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.1085, allocations: 193.9 kB / 453.3 MB, free: 2.793 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/0.1091, allocations: 352.2 kB / 453.7 MB, free: 2.418 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1091, allocations: 0 / 453.7 MB, free: 2.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001721/0.1108, allocations: 0.664 MB / 454.3 MB, free: 1.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.1109, allocations: 41.83 kB / 454.4 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1109, allocations: 0 / 454.4 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000468/0.1114, allocations: 125.6 kB / 454.5 MB, free: 1.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.1116, allocations: 47.84 kB / 454.5 MB, free: 1.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/0.1161, allocations: 3.577 MB / 458.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.1163, allocations: 39.81 kB / 458.1 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.1164, allocations: 11.98 kB / 458.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002453/0.1166, allocations: 184.2 kB / 458.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002025/0.1168, allocations: 144.8 kB / 458.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004296/0.1173, allocations: 264.4 kB / 458.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.1173, allocations: 0 / 458.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005206/0.1178, allocations: 334.9 kB / 459.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.1179, allocations: 33.7 kB / 459.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/0.1179, allocations: 4 kB / 459.1 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.938e-06/0.1179, allocations: 4 kB / 459.1 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.1181, allocations: 56.12 kB / 459.2 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1182, allocations: 11.92 kB / 459.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.1183, allocations: 27.98 kB / 459.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.1184, allocations: 16 kB / 459.2 MB, free: 12.47 MB / 314.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,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.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): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.1185, allocations: 237.8 kB / 459.4 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.1186, allocations: 27.62 kB / 459.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.95e-05/0.1186, allocations: 30.17 kB / 459.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1186, allocations: 4 kB / 459.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1187, allocations: 4 kB / 459.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1187, allocations: 0 / 459.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.119, allocations: 341.2 kB / 459.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.119, allocations: 0 / 459.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.1193, allocations: 59.88 kB / 459.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1193, allocations: 0 / 459.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.1194, allocations: 8 kB / 459.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1194, allocations: 3.938 kB / 459.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1194, allocations: 0 / 459.9 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005812/0.1252, allocations: 3.392 MB / 463.3 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.1253, allocations: 108.7 kB / 463.4 MB, free: 8.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/0.1253, allocations: 7.938 kB / 463.4 MB, free: 8.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001967/0.1255, allocations: 32.03 kB / 463.4 MB, free: 7.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.881e-05/0.1256, allocations: 27.95 kB / 463.5 MB, free: 7.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.1256, allocations: 7.984 kB / 463.5 MB, free: 7.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.1258, allocations: 186 kB / 463.7 MB, free: 7.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1258, allocations: 4 kB / 463.7 MB, free: 7.762 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006928/0.1265, allocations: 163.7 kB / 463.8 MB, free: 7.602 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (firstOrderPositiveGain.I.y,firstOrderNegativeGain.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 (17): * Single equations (assignments): 16 * 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.0001819/0.1267, allocations: 131.2 kB / 464 MB, free: 7.465 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.1283, allocations: 0.8825 MB / 464.8 MB, free: 6.531 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1283, allocations: 0 / 464.8 MB, free: 6.531 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004193/0.1288, allocations: 239.6 kB / 465.1 MB, free: 6.285 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.1292, allocations: 52.47 kB / 465.1 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1304, allocations: 0.8562 MB / 466 MB, free: 5.328 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1308, allocations: 0.76 MB / 466.7 MB, free: 4.543 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000183/0.131, allocations: 33.94 kB / 466.8 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.51e-05/0.1311, allocations: 31.36 kB / 466.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1311, allocations: 0 / 466.8 MB, free: 4.477 MB / 314.7 MB Notification: Performance of Templates: time 0.009446/0.1406, allocations: 5.755 MB / 472.6 MB, free: 14.72 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1)