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.0009918/0.0009918, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.000987/0.000987, allocations: 173 kB / 23.49 MB, free: 1.059 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.9553/0.9553, allocations: 177.1 MB / 203.8 MB, free: 5.629 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-535:34: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-535:42: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.7966/0.7966, allocations: 154.8 MB / 415.1 MB, free: 0.5 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.092e-06/1.092e-06, allocations: 0 / 0.5205 GB, free: 2.332 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.814e-05, allocations: 3.578 kB / 0.5205 GB, free: 2.328 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002878/0.002896, allocations: 2.357 MB / 0.5228 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0009774/0.003874, allocations: 0.835 MB / 0.5236 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.003959, allocations: 4 kB / 0.5237 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.0045, allocations: 159.9 kB / 0.5238 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.004679, allocations: 72.45 kB / 0.5239 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.004828, allocations: 64.75 kB / 0.5239 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.00501, allocations: 159.4 kB / 0.5241 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.005183, allocations: 93.91 kB / 0.5242 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.005343, allocations: 95.72 kB / 0.5243 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.005461, allocations: 56.83 kB / 0.5243 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.005481, allocations: 15.94 kB / 0.5243 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.005569, allocations: 51.94 kB / 0.5244 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.756e-05/0.005616, allocations: 41.59 kB / 0.5244 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.023e-05/0.005667, allocations: 43.91 kB / 0.5245 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.005856, allocations: 139.4 kB / 0.5246 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.005857, allocations: 0 / 0.5246 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.005858, allocations: 1.031 kB / 0.5246 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.168e-05/0.00587, allocations: 0 / 0.5246 GB, free: 14.17 MB / 0.4948 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.0005372/0.006407, allocations: 0.5125 MB / 0.5251 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.00644, allocations: 8.031 kB / 0.5251 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002151/0.006655, allocations: 48.81 kB / 0.5252 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.006828, allocations: 170 kB / 0.5253 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.006881, allocations: 61.78 kB / 0.5254 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.006903, allocations: 12.38 kB / 0.5254 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.007095, allocations: 169.2 kB / 0.5256 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.007103, allocations: 0 / 0.5256 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.007116, allocations: 9.188 kB / 0.5256 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.007133, allocations: 4 kB / 0.5256 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/0.007213, allocations: 65.61 kB / 0.5256 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.007926, allocations: 0.6858 MB / 0.5263 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.008072, allocations: 76.75 kB / 0.5264 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.008111, allocations: 49.42 kB / 0.5264 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.008121, allocations: 8.594 kB / 0.5264 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.008256, allocations: 168.9 kB / 0.5266 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.008257, allocations: 0 / 0.5266 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7): time 0.0002117/0.008469, allocations: 191.9 kB / 0.5268 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.008522, allocations: 140.4 kB / 0.5269 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.008645, allocations: 237.7 kB / 0.5271 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.008659, allocations: 34.36 kB / 0.5272 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.008727, allocations: 183.2 kB / 0.5273 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.008744, allocations: 23.83 kB / 0.5274 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.889e-05/0.008813, allocations: 50.53 kB / 0.5274 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.008915, allocations: 0.4923 MB / 0.5279 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.008967, allocations: 75.39 kB / 0.528 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.009051, allocations: 175.8 kB / 0.5281 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.009182, allocations: 236.6 kB / 0.5284 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009184, allocations: 0 / 0.5284 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002008/0.009385, allocations: 273.7 kB / 0.5286 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.009415, allocations: 55.41 kB / 0.5287 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00942, allocations: 7.062 kB / 0.5287 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.009433, allocations: 4 kB / 0.5287 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.009509, allocations: 39.86 kB / 0.5287 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.009518, allocations: 4 kB / 0.5287 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.369e-05/0.009582, allocations: 19.88 kB / 0.5287 GB, free: 9.441 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.009592, allocations: 11.98 kB / 0.5288 GB, free: 9.43 MB / 0.4948 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 8.811e-05/0.00968, allocations: 204.3 kB / 0.5289 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.009697, allocations: 15.95 kB / 0.529 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.02e-05/0.009718, allocations: 13.47 kB / 0.529 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.009719, allocations: 0 / 0.529 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.009724, allocations: 7.938 kB / 0.529 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.009727, allocations: 0.9375 kB / 0.529 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.00983, allocations: 164.5 kB / 0.5291 GB, free: 8.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.009832, allocations: 3.984 kB / 0.5291 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.009868, allocations: 8.719 kB / 0.5292 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.00987, allocations: 0.6562 kB / 0.5292 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.009879, allocations: 3.938 kB / 0.5292 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.009882, allocations: 7.344 kB / 0.5292 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009883, allocations: 0 / 0.5292 GB, free: 8.969 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.01011, allocations: 257.3 kB / 0.5294 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.847e-05/0.01013, allocations: 11.91 kB / 0.5294 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.01015, allocations: 4 kB / 0.5294 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.01021, allocations: 4 kB / 0.5294 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.01026, allocations: 15.92 kB / 0.5294 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.01027, allocations: 4 kB / 0.5294 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.407e-05/0.01037, allocations: 165.3 kB / 0.5296 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.01037, allocations: 3.062 kB / 0.5296 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002376/0.0106, allocations: 28 kB / 0.5296 GB, free: 8.449 MB / 0.4948 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.384e-05/0.0107, allocations: 99.25 kB / 0.5297 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002549/0.01095, allocations: 283.8 kB / 0.53 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01095, allocations: 0 / 0.53 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.01104, allocations: 120.8 kB / 0.5301 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.01124, allocations: 14.03 kB / 0.5301 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006607/0.0119, allocations: 324.9 kB / 0.5304 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.467e-05/0.01195, allocations: 71.33 kB / 0.5305 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.851e-05/0.01199, allocations: 16.14 kB / 0.5305 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/0.01202, allocations: 16.5 kB / 0.5305 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.01202, allocations: 0 / 0.5305 GB, free: 7.395 MB / 0.4948 GB Notification: Performance of Templates: time 0.002841/0.01486, allocations: 1.478 MB / 0.532 GB, free: 5.996 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.800364646827802]