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.0007404/0.0007404, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 13.93 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.0007207/0.0007207, allocations: 210.9 kB / 23 MB, free: 2.973 MB / 13.93 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.8534/0.8534, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.7537/0.7537, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008769/0.0008769, allocations: 72.05 kB / 0.7194 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4452, allocations: 102 MB / 0.819 GB, free: 1.363 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002999/0.4482, allocations: 2.312 MB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.4493, allocations: 0.8233 MB / 0.822 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.4494, allocations: 3.5 kB / 0.822 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.4499, allocations: 147.7 kB / 0.8222 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.45, allocations: 61.11 kB / 0.8222 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.4502, allocations: 63.28 kB / 0.8223 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.4504, allocations: 166.1 kB / 0.8225 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.4506, allocations: 89.5 kB / 0.8225 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.4508, allocations: 71.16 kB / 0.8226 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.451, allocations: 70.38 kB / 0.8227 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.451, allocations: 11.91 kB / 0.8227 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-05/0.4511, allocations: 53.88 kB / 0.8227 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.819e-05/0.4511, allocations: 34.2 kB / 0.8228 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.4512, allocations: 53.38 kB / 0.8228 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.4515, allocations: 184.3 kB / 0.823 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4515, allocations: 4 kB / 0.823 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4515, allocations: 0 / 0.823 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4515, allocations: 5.344 kB / 0.823 GB, free: 14.82 MB / 0.6198 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.0007201/0.4522, allocations: 430.2 kB / 0.8234 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4522, allocations: 8.875 kB / 0.8234 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/0.4524, allocations: 34.42 kB / 0.8235 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.4526, allocations: 161.2 kB / 0.8236 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.4527, allocations: 69.38 kB / 0.8237 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.4527, allocations: 11.56 kB / 0.8237 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.453, allocations: 178.8 kB / 0.8239 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.453, allocations: 0 / 0.8239 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.453, allocations: 2.75 kB / 0.8239 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.453, allocations: 8.422 kB / 0.8239 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.4532, allocations: 122.9 kB / 0.824 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006189/0.4538, allocations: 0.554 MB / 0.8245 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.454, allocations: 81.36 kB / 0.8246 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.531e-05/0.4541, allocations: 59.31 kB / 0.8247 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.4541, allocations: 0 / 0.8247 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.4543, allocations: 180 kB / 0.8248 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.4543, allocations: 0 / 0.8248 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000306/0.4546, allocations: 220.1 kB / 0.825 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.4546, allocations: 138 kB / 0.8252 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.4548, allocations: 187.7 kB / 0.8254 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4548, allocations: 32.03 kB / 0.8254 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.4549, allocations: 139.3 kB / 0.8255 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.4549, allocations: 26.27 kB / 0.8255 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.4549, allocations: 41.98 kB / 0.8256 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/0.455, allocations: 322.8 kB / 0.8259 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.4551, allocations: 96.53 kB / 0.826 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.4552, allocations: 165 kB / 0.8261 GB, free: 12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.4554, allocations: 230.2 kB / 0.8264 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4554, allocations: 0 / 0.8264 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002665/0.4557, allocations: 307.8 kB / 0.8267 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.4557, allocations: 64.38 kB / 0.8267 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.4557, allocations: 3 kB / 0.8267 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4557, allocations: 7.625 kB / 0.8267 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.4558, allocations: 30.2 kB / 0.8268 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4558, allocations: 4.562 kB / 0.8268 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/0.4559, allocations: 26.56 kB / 0.8268 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4559, allocations: 7.844 kB / 0.8268 GB, free: 11.48 MB / 0.6198 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.0001067/0.456, allocations: 177.4 kB / 0.827 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.456, allocations: 18.56 kB / 0.827 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.4561, allocations: 14.91 kB / 0.827 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.4561, allocations: 2.172 kB / 0.827 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4561, allocations: 0 / 0.827 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4561, allocations: 0 / 0.827 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.4562, allocations: 148.1 kB / 0.8271 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4562, allocations: 1.703 kB / 0.8271 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/0.4562, allocations: 10.34 kB / 0.8271 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.4563, allocations: 0.6562 kB / 0.8271 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.4563, allocations: 10.56 kB / 0.8272 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.4563, allocations: 4.453 kB / 0.8272 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4563, allocations: 0 / 0.8272 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/0.4566, allocations: 287.4 kB / 0.8274 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.4566, allocations: 12.33 kB / 0.8274 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.4566, allocations: 7 kB / 0.8275 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.745e-05/0.4567, allocations: 9.578 kB / 0.8275 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.4567, allocations: 11.19 kB / 0.8275 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.4567, allocations: 3.469 kB / 0.8275 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.997e-05/0.4568, allocations: 138.2 kB / 0.8276 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4568, allocations: 0 / 0.8276 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001716/0.457, allocations: 30.78 kB / 0.8276 GB, free: 10.79 MB / 0.6198 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 8.412e-05/0.4571, allocations: 100.8 kB / 0.8277 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.4573, allocations: 300.7 kB / 0.828 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4573, allocations: 2.656 kB / 0.828 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.864e-05/0.4574, allocations: 122.8 kB / 0.8281 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.4576, allocations: 24.86 kB / 0.8282 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005268/0.4581, allocations: 358.8 kB / 0.8285 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.048e-05/0.4582, allocations: 103.5 kB / 0.8286 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.4582, allocations: 14.06 kB / 0.8286 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of SimCode: time 3.71e-07/0.4582, allocations: 4 kB / 0.8286 GB, free: 9.961 MB / 0.6198 GB Notification: Performance of Templates: time 0.003269/0.4615, allocations: 1.778 MB / 0.8304 GB, free: 9.789 MB / 0.6198 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.6786925522610545] Failed to read output from testmodel.py, exit status != 0: 0.4678435502573848 0.47678367 0.023459183 Calling exit ...