Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006431/0.0006431, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [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.0007163/0.0007163, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [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.8273/0.8273, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.6771/0.6771, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.6192 GB, free: 13.29 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.655e-05/2.844e-05, allocations: 3.281 kB / 0.6192 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002797/0.002826, allocations: 2.284 MB / 0.6215 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003911, allocations: 0.8258 MB / 0.6223 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.004013, allocations: 0 / 0.6223 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0005112/0.004525, allocations: 150.7 kB / 0.6224 GB, free: 10 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.004704, allocations: 71.53 kB / 0.6225 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.004893, allocations: 63.73 kB / 0.6225 GB, free: 9.871 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.005106, allocations: 159.4 kB / 0.6227 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.005335, allocations: 85.09 kB / 0.6228 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.005528, allocations: 95.8 kB / 0.6229 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.005681, allocations: 55.86 kB / 0.6229 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.005702, allocations: 12 kB / 0.6229 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.005805, allocations: 59.75 kB / 0.623 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.273e-05/0.005858, allocations: 39.84 kB / 0.623 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.005918, allocations: 43.91 kB / 0.6231 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.006162, allocations: 187.4 kB / 0.6232 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.006165, allocations: 0 / 0.6232 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.184e-06/0.006167, allocations: 0 / 0.6232 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.006171, allocations: 0 / 0.6232 GB, free: 9.145 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006116/0.006783, allocations: 421.2 kB / 0.6236 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.006822, allocations: 13.47 kB / 0.6237 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.007018, allocations: 36.83 kB / 0.6237 GB, free: 8.645 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.007231, allocations: 162.1 kB / 0.6239 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.599e-05/0.007287, allocations: 60.16 kB / 0.6239 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.007313, allocations: 12.38 kB / 0.6239 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.007561, allocations: 185 kB / 0.6241 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.00757, allocations: 0 / 0.6241 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.007584, allocations: 4 kB / 0.6241 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.007602, allocations: 8 kB / 0.6241 GB, free: 8.168 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.007738, allocations: 113.6 kB / 0.6242 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.008341, allocations: 0.5698 MB / 0.6248 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.008532, allocations: 76.27 kB / 0.6248 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.008585, allocations: 54.61 kB / 0.6249 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.008601, allocations: 4 kB / 0.6249 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.008771, allocations: 180.4 kB / 0.6251 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.008772, allocations: 0 / 0.6251 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002972/0.009069, allocations: 218.8 kB / 0.6253 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.009132, allocations: 144.4 kB / 0.6254 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.009552, allocations: 187.4 kB / 0.6256 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.009566, allocations: 29.7 kB / 0.6256 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.009634, allocations: 135.7 kB / 0.6258 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.009652, allocations: 23.84 kB / 0.6258 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.009701, allocations: 41.7 kB / 0.6258 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.00978, allocations: 326.8 kB / 0.6261 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.62e-05/0.009856, allocations: 87.39 kB / 0.6262 GB, free: 5.805 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.769e-05/0.009953, allocations: 175.3 kB / 0.6264 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001636/0.01012, allocations: 230.4 kB / 0.6266 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.01012, allocations: 0 / 0.6266 GB, free: 5.312 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002437/0.01036, allocations: 304.1 kB / 0.6269 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.0104, allocations: 63.7 kB / 0.627 GB, free: 4.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01041, allocations: 8 kB / 0.627 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01043, allocations: 0 / 0.627 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.01051, allocations: 39.8 kB / 0.627 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.01052, allocations: 4 kB / 0.627 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.0106, allocations: 27.88 kB / 0.627 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01061, allocations: 8 kB / 0.627 GB, free: 4.824 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.0001024/0.01071, allocations: 172.4 kB / 0.6272 GB, free: 4.641 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.592e-05/0.01073, allocations: 11.91 kB / 0.6272 GB, free: 4.629 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.01075, allocations: 21.45 kB / 0.6272 GB, free: 4.605 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01076, allocations: 4 kB / 0.6272 GB, free: 4.602 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.01076, allocations: 3.938 kB / 0.6272 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.01077, allocations: 0 / 0.6272 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.01087, allocations: 145.3 kB / 0.6274 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01087, allocations: 4 kB / 0.6274 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.01092, allocations: 8 kB / 0.6274 GB, free: 4.414 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01092, allocations: 7.984 kB / 0.6274 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01094, allocations: 0 / 0.6274 GB, free: 4.406 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.01094, allocations: 3.938 kB / 0.6274 GB, free: 4.402 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01094, allocations: 4 kB / 0.6274 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002749/0.01121, allocations: 286.3 kB / 0.6277 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.01124, allocations: 23.92 kB / 0.6277 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.01126, allocations: 0 / 0.6277 GB, free: 4.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.292e-05/0.0113, allocations: 8 kB / 0.6277 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.01135, allocations: 15.92 kB / 0.6277 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.01136, allocations: 4 kB / 0.6277 GB, free: 4.031 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.436e-05/0.01144, allocations: 136.3 kB / 0.6279 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01144, allocations: 0 / 0.6279 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001721/0.01161, allocations: 28.06 kB / 0.6279 GB, free: 3.871 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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 9.405e-05/0.0117, allocations: 106 kB / 0.628 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.01195, allocations: 291.7 kB / 0.6283 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01195, allocations: 0 / 0.6283 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-05/0.01203, allocations: 125.1 kB / 0.6284 GB, free: 3.289 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.01221, allocations: 16.61 kB / 0.6284 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.01269, allocations: 349.5 kB / 0.6287 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.973e-05/0.01276, allocations: 106.2 kB / 0.6288 GB, free: 2.766 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.01279, allocations: 16.5 kB / 0.6288 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of SimCode: time 5.51e-07/0.01279, allocations: 0 / 0.6288 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.002723/0.01552, allocations: 1.775 MB / 0.6306 GB, free: 0.9805 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.1331847021356225] Failed to read output from testmodel.py, exit status != 0: 0.021165575832128525 0.028595299 0.020848305 Calling exit ...