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.0007763/0.0007763, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008471/0.0008471, allocations: 207.8 kB / 23 MB, free: 3.121 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.8552/0.8552, allocations: 230.6 MB / 256.8 MB, free: 3.48 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.7284/0.7284, allocations: 203.8 MB / 0.5049 GB, free: 0.7188 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.001246/0.001246, allocations: 63.91 kB / 0.7194 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.451, allocations: 102 MB / 0.8191 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003021/0.454, allocations: 2.384 MB / 0.8214 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.4551, allocations: 0.8777 MB / 0.8222 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.4552, allocations: 6.5 kB / 0.8222 GB, free: 23.03 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.4557, allocations: 153.2 kB / 0.8224 GB, free: 22.94 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.4559, allocations: 66.11 kB / 0.8225 GB, free: 22.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.456, allocations: 60.64 kB / 0.8225 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.4563, allocations: 166.1 kB / 0.8227 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.4565, allocations: 86.59 kB / 0.8228 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.4567, allocations: 78.41 kB / 0.8228 GB, free: 22.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.4568, allocations: 68.06 kB / 0.8229 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.4569, allocations: 12.53 kB / 0.8229 GB, free: 22.68 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.457, allocations: 60.02 kB / 0.823 GB, free: 22.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.457, allocations: 39.19 kB / 0.823 GB, free: 22.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.861e-05/0.4571, allocations: 71.58 kB / 0.8231 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002653/0.4574, allocations: 174.4 kB / 0.8232 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4574, allocations: 1.875 kB / 0.8232 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4574, allocations: 0 / 0.8232 GB, free: 22.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.4574, allocations: 0 / 0.8232 GB, free: 22.54 MB / 0.6355 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.0005346/0.4579, allocations: 433.4 kB / 0.8236 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.458, allocations: 11.38 kB / 0.8237 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002171/0.4582, allocations: 35.22 kB / 0.8237 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.4584, allocations: 162.5 kB / 0.8238 GB, free: 21.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.4584, allocations: 66.03 kB / 0.8239 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.4585, allocations: 11.55 kB / 0.8239 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.4587, allocations: 146.7 kB / 0.8241 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.4588, allocations: 0.5312 kB / 0.8241 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.4588, allocations: 13.5 kB / 0.8241 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.4588, allocations: 5.531 kB / 0.8241 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.459, allocations: 87.72 kB / 0.8242 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.4596, allocations: 0.6108 MB / 0.8248 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.4598, allocations: 63.47 kB / 0.8248 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.498e-05/0.4598, allocations: 23.7 kB / 0.8248 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.4598, allocations: 0 / 0.8248 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001504/0.46, allocations: 145.4 kB / 0.825 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.183e-06/0.46, allocations: 3.062 kB / 0.825 GB, free: 21.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002653/0.4603, allocations: 156.7 kB / 0.8251 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.4603, allocations: 132.3 kB / 0.8253 GB, free: 20.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.4604, allocations: 196.1 kB / 0.8254 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.4604, allocations: 30.73 kB / 0.8255 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.4605, allocations: 139.5 kB / 0.8256 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.4605, allocations: 26.72 kB / 0.8256 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.4606, allocations: 37.83 kB / 0.8257 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.4606, allocations: 326.2 kB / 0.826 GB, free: 20.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.513e-05/0.4607, allocations: 38.95 kB / 0.826 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.4608, allocations: 106.3 kB / 0.8261 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.4609, allocations: 233.4 kB / 0.8263 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.4609, allocations: 2.094 kB / 0.8263 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000224/0.4611, allocations: 246 kB / 0.8266 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.4612, allocations: 60.86 kB / 0.8266 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.4612, allocations: 3.312 kB / 0.8266 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4612, allocations: 3.969 kB / 0.8266 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.4613, allocations: 38.8 kB / 0.8267 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4613, allocations: 8.391 kB / 0.8267 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.4614, allocations: 26.09 kB / 0.8267 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.4614, allocations: 8.609 kB / 0.8267 GB, free: 19.57 MB / 0.6355 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 7.792e-05/0.4615, allocations: 169.8 kB / 0.8269 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.4615, allocations: 19 kB / 0.8269 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.4615, allocations: 15.69 kB / 0.8269 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4615, allocations: 6.172 kB / 0.8269 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4615, allocations: 4 kB / 0.8269 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4615, allocations: 0 / 0.8269 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.4616, allocations: 184.8 kB / 0.8271 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4616, allocations: 1.859 kB / 0.8271 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.4617, allocations: 13.45 kB / 0.8271 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.4617, allocations: 1.031 kB / 0.8271 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4617, allocations: 6.5 kB / 0.8271 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4617, allocations: 1.547 kB / 0.8271 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4617, allocations: 0 / 0.8271 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.462, allocations: 215.8 kB / 0.8273 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.462, allocations: 13.03 kB / 0.8273 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.462, allocations: 7.141 kB / 0.8274 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.462, allocations: 14.27 kB / 0.8274 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.4621, allocations: 9.453 kB / 0.8274 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.4621, allocations: 4.141 kB / 0.8274 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.4622, allocations: 138.7 kB / 0.8275 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4622, allocations: 0 / 0.8275 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001663/0.4623, allocations: 35.05 kB / 0.8275 GB, free: 18.92 MB / 0.6355 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 6.736e-05/0.4624, allocations: 98 kB / 0.8276 GB, free: 18.83 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002145/0.4626, allocations: 213.7 kB / 0.8278 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4626, allocations: 0.625 kB / 0.8278 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.4627, allocations: 90.31 kB / 0.8279 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/0.4629, allocations: 22.38 kB / 0.8279 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.4633, allocations: 328.9 kB / 0.8283 GB, free: 18.35 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.4635, allocations: 0.716 MB / 0.829 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.4635, allocations: 18.09 kB / 0.829 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/0.4635, allocations: 0 / 0.829 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of Templates: time 0.002987/0.4665, allocations: 1.733 MB / 0.8307 GB, free: 17.47 MB / 0.6355 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.904428455047309] Failed to read output from testmodel.py, exit status != 0: 0.4728417689912021 0.48417581699999995 0.02472914 Calling exit ...