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-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/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.0009897/0.0009898, allocations: 172 kB / 16.11 MB, free: 5.676 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.746/1.746, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0008306/0.0008307, allocations: 96.84 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.06172/0.06172, allocations: 14.19 MB / 333.1 MB, free: 9.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006423/0.0006423, allocations: 15.94 kB / 396.9 MB, free: 62.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1178, allocations: 51.11 MB / 448 MB, free: 11.33 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.363/0.4808, allocations: 80.02 MB / 0.5157 GB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.4811, allocations: 69.72 kB / 0.5157 GB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.4974, allocations: 6.257 MB / 0.5219 GB, free: 5.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4975, allocations: 0 / 0.5219 GB, free: 5.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.074e-05/0.4976, allocations: 16 kB / 0.5219 GB, free: 5.344 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.001178/0.4987, allocations: 0.6065 MB / 0.5225 GB, free: 4.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.4988, allocations: 8.031 kB / 0.5225 GB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.4989, allocations: 28.66 kB / 0.5225 GB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005455/0.4995, allocations: 325.7 kB / 0.5228 GB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.4995, allocations: 15 kB / 0.5228 GB, free: 4.324 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.657e-05/0.4996, allocations: 19.25 kB / 0.5228 GB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006978/0.5003, allocations: 319.5 kB / 0.5231 GB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5003, allocations: 192 / 0.5231 GB, free: 4.023 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.5004, allocations: 15.12 kB / 0.5232 GB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.5004, allocations: 7.984 kB / 0.5232 GB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/0.501, allocations: 274.4 kB / 0.5234 GB, free: 3.785 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.5022, allocations: 1.061 MB / 0.5245 GB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/0.503, allocations: 343.7 kB / 0.5248 GB, free: 2.488 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.5033, allocations: 183.1 kB / 0.525 GB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/0.5034, allocations: 0.6875 kB / 0.525 GB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000485/0.5039, allocations: 279 kB / 0.5252 GB, free: 2.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 2.515e-06/0.5039, allocations: 3.938 kB / 0.5252 GB, free: 2.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.001225/0.5051, allocations: 0.5594 MB / 0.5258 GB, free: 1.594 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.5052, allocations: 158.3 kB / 0.5259 GB, free: 1.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.5054, allocations: 266.1 kB / 0.5262 GB, free: 1.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.5055, allocations: 29.39 kB / 0.5262 GB, free: 1.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.5056, allocations: 159.8 kB / 0.5264 GB, free: 1.023 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.5056, allocations: 61.86 kB / 0.5264 GB, free: 0.9727 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.5056, allocations: 7.438 kB / 0.5264 GB, free: 0.9688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.5057, allocations: 337.2 kB / 0.5268 GB, free: 0.6406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.506, allocations: 144.3 kB / 0.5269 GB, free: 0.5273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.5064, allocations: 225.2 kB / 0.5271 GB, free: 320 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006619/0.5071, allocations: 385.2 kB / 0.5275 GB, free: 15.97 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5071, allocations: 0 / 0.5275 GB, free: 15.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002034/0.5091, allocations: 0.805 MB / 0.5283 GB, free: 15.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.5093, allocations: 168.1 kB / 0.5284 GB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5093, allocations: 0 / 0.5284 GB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/0.5099, allocations: 185.9 kB / 0.5286 GB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.5101, allocations: 39.28 kB / 0.5286 GB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005241/0.5153, allocations: 3.82 MB / 0.5324 GB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.5157, allocations: 50.75 kB / 0.5324 GB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.5158, allocations: 19.23 kB / 0.5324 GB, free: 10.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.5158, allocations: 6.656 kB / 0.5324 GB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006932/0.5165, allocations: 319 kB / 0.5327 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.5165, allocations: 0 / 0.5327 GB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.5166, allocations: 16.08 kB / 0.5328 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.5168, allocations: 53.53 kB / 0.5328 GB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.5168, allocations: 0 / 0.5328 GB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.517, allocations: 27.7 kB / 0.5328 GB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.517, allocations: 9.375 kB / 0.5328 GB, free: 10.62 MB / 346.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 () * 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 (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.0003102/0.5173, allocations: 260.8 kB / 0.5331 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.919e-05/0.5174, allocations: 40.16 kB / 0.5331 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.532e-05/0.5175, allocations: 31.8 kB / 0.5332 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.5175, allocations: 0 / 0.5332 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.5175, allocations: 0 / 0.5332 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5175, allocations: 0 / 0.5332 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003858/0.5179, allocations: 337.5 kB / 0.5335 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.5179, allocations: 4 kB / 0.5335 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.5182, allocations: 55.95 kB / 0.5335 GB, free: 9.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.5182, allocations: 3.938 kB / 0.5335 GB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.5183, allocations: 10.25 kB / 0.5336 GB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5183, allocations: 0 / 0.5336 GB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5183, allocations: 4 kB / 0.5336 GB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.5198, allocations: 0.6646 MB / 0.5342 GB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.682e-05/0.5199, allocations: 100.8 kB / 0.5343 GB, free: 9.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/0.52, allocations: 7.438 kB / 0.5343 GB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.5202, allocations: 43.41 kB / 0.5344 GB, free: 9.184 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.5204, allocations: 35.31 kB / 0.5344 GB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.5204, allocations: 11.19 kB / 0.5344 GB, free: 9.145 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000254/0.5207, allocations: 180.8 kB / 0.5346 GB, free: 8.996 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5207, allocations: 0 / 0.5346 GB, free: 8.996 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007915/0.5215, allocations: 118 kB / 0.5347 GB, free: 8.891 MB / 346.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 (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.0004317/0.5219, allocations: 147.2 kB / 0.5348 GB, free: 8.742 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.5241, allocations: 0.9497 MB / 0.5358 GB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.5241, allocations: 0 / 0.5358 GB, free: 7.883 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005318/0.5246, allocations: 253.9 kB / 0.536 GB, free: 7.672 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.5251, allocations: 54.89 kB / 0.536 GB, free: 7.637 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.5264, allocations: 0.6064 MB / 0.5366 GB, free: 7.047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.5268, allocations: 0.7558 MB / 0.5374 GB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.527, allocations: 37.94 kB / 0.5374 GB, free: 6.227 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.527, allocations: 19.44 kB / 0.5374 GB, free: 6.207 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.527, allocations: 0 / 0.5374 GB, free: 6.207 MB / 346.7 MB Notification: Performance of Templates: time 0.01008/0.5371, allocations: 4.627 MB / 0.542 GB, free: 1.598 MB / 346.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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1)