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.001161/0.001161, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.3 MB / 213.4 MB, free: 13.76 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.0009041/0.000904, allocations: 79.06 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05864/0.05864, allocations: 14.01 MB / 323.4 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.532e-05, allocations: 4 kB / 381.9 MB, free: 72.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.09981, allocations: 51.1 MB / 433 MB, free: 21.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.4251, allocations: 79.23 MB / 0.5002 GB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001613/0.4253, allocations: 64.94 kB / 0.5002 GB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01552/0.4408, allocations: 6.177 MB / 0.5063 GB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4409, allocations: 0 / 0.5063 GB, free: 10.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.4409, allocations: 15.69 kB / 0.5063 GB, free: 10.82 MB / 330.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.0007432/0.4416, allocations: 0.5715 MB / 0.5068 GB, free: 10.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.4417, allocations: 7.781 kB / 0.5069 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.351e-05/0.4418, allocations: 38.47 kB / 0.5069 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.4422, allocations: 298.2 kB / 0.5072 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.4422, allocations: 3.844 kB / 0.5072 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.4422, allocations: 15.55 kB / 0.5072 GB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002332/0.4425, allocations: 154.1 kB / 0.5073 GB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.4428, allocations: 234.3 kB / 0.5076 GB, free: 9.895 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4428, allocations: 3.984 kB / 0.5076 GB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.4428, allocations: 3.844 kB / 0.5076 GB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.4428, allocations: 3.969 kB / 0.5076 GB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009812/0.4438, allocations: 1.027 MB / 0.5086 GB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000341/0.4442, allocations: 221.5 kB / 0.5088 GB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.4443, allocations: 114.2 kB / 0.5089 GB, free: 9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.4443, allocations: 11.77 kB / 0.5089 GB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.4446, allocations: 202.9 kB / 0.5091 GB, free: 8.863 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.4446, allocations: 0 / 0.5091 GB, free: 8.863 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004377/0.445, allocations: 278 kB / 0.5094 GB, free: 8.793 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.4451, allocations: 165.2 kB / 0.5095 GB, free: 8.602 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.4452, allocations: 217.5 kB / 0.5097 GB, free: 8.488 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.4453, allocations: 25.7 kB / 0.5098 GB, free: 8.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.961e-05/0.4454, allocations: 166.5 kB / 0.5099 GB, free: 8.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.4454, allocations: 76.05 kB / 0.51 GB, free: 8.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/0.4454, allocations: 3.844 kB / 0.51 GB, free: 8.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.4455, allocations: 333.2 kB / 0.5103 GB, free: 7.969 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.4456, allocations: 81.34 kB / 0.5104 GB, free: 7.961 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.4458, allocations: 156 kB / 0.5105 GB, free: 7.875 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.446, allocations: 94.67 kB / 0.5106 GB, free: 7.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.446, allocations: 0 / 0.5106 GB, free: 7.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009185/0.4469, allocations: 500 kB / 0.5111 GB, free: 7.703 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001464/0.447, allocations: 0.5604 MB / 0.5117 GB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4471, allocations: 0 / 0.5117 GB, free: 7.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002372/0.4473, allocations: 98.94 kB / 0.5117 GB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.4475, allocations: 26.7 kB / 0.5118 GB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000933/0.4484, allocations: 1.272 MB / 0.513 GB, free: 5.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002453/0.4487, allocations: 42.25 kB / 0.5131 GB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/0.4487, allocations: 14.81 kB / 0.5131 GB, free: 5.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.4487, allocations: 7.859 kB / 0.5131 GB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003619/0.4491, allocations: 248.1 kB / 0.5133 GB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.4491, allocations: 0 / 0.5133 GB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.949e-06/0.4491, allocations: 3.844 kB / 0.5133 GB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.4493, allocations: 53.66 kB / 0.5134 GB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4493, allocations: 7.828 kB / 0.5134 GB, free: 5.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.4495, allocations: 15.53 kB / 0.5134 GB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.4495, allocations: 15.69 kB / 0.5134 GB, free: 5.887 MB / 330.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 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.I.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001171/0.4496, allocations: 154.1 kB / 0.5136 GB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.4497, allocations: 23.22 kB / 0.5136 GB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.174e-05/0.4497, allocations: 31.64 kB / 0.5136 GB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4498, allocations: 0 / 0.5136 GB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4498, allocations: 0 / 0.5136 GB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.4498, allocations: 7.828 kB / 0.5136 GB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.45, allocations: 300.1 kB / 0.5139 GB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.45, allocations: 7.938 kB / 0.5139 GB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.4503, allocations: 58.33 kB / 0.514 GB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4503, allocations: 0 / 0.514 GB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.4503, allocations: 3.844 kB / 0.514 GB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4503, allocations: 3.812 kB / 0.514 GB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4503, allocations: 0 / 0.514 GB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.4509, allocations: 469.8 kB / 0.5144 GB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.451, allocations: 96.55 kB / 0.5145 GB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.451, allocations: 3.969 kB / 0.5145 GB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.4512, allocations: 38.91 kB / 0.5146 GB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.4513, allocations: 34.64 kB / 0.5146 GB, free: 5.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.4513, allocations: 15.55 kB / 0.5146 GB, free: 5.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.4515, allocations: 167.7 kB / 0.5148 GB, free: 5.082 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4515, allocations: 3.688 kB / 0.5148 GB, free: 5.082 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004396/0.4519, allocations: 99.14 kB / 0.5149 GB, free: 5.066 MB / 330.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002189/0.4521, allocations: 151.3 kB / 0.515 GB, free: 4.957 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009109/0.4531, allocations: 0.5946 MB / 0.5156 GB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4531, allocations: 0 / 0.5156 GB, free: 4.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001501/0.4532, allocations: 186.2 kB / 0.5158 GB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.4535, allocations: 49.31 kB / 0.5158 GB, free: 4.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/0.4542, allocations: 359 kB / 0.5161 GB, free: 4.477 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.4544, allocations: 0.7663 MB / 0.5169 GB, free: 3.738 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.4546, allocations: 50.34 kB / 0.5169 GB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.4546, allocations: 22.94 kB / 0.517 GB, free: 3.699 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4547, allocations: 0 / 0.517 GB, free: 3.699 MB / 330.7 MB Notification: Performance of Templates: time 0.007311/0.462, allocations: 4.325 MB / 0.5212 GB, free: 1.562 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)