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.001368/0.001368, allocations: 79.44 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001467/0.001467, allocations: 166.2 kB / 22.46 MB, free: 5.379 MB / 14.72 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 1.446/1.446, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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 1.236/1.236, allocations: 154.5 MB / 413.7 MB, free: 5.301 MB / 382.1 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 178] 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.402e-06/1.402e-06, allocations: 0 / 0.6185 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.567e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004089/0.004114, allocations: 2.282 MB / 0.6207 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.00563, allocations: 0.8213 MB / 0.6215 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.606e-05/0.005716, allocations: 0 / 0.6215 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.006346, allocations: 140.2 kB / 0.6216 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.006547, allocations: 75.48 kB / 0.6217 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.006755, allocations: 71.72 kB / 0.6218 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.007003, allocations: 167.4 kB / 0.6219 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.007256, allocations: 80.3 kB / 0.622 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.007468, allocations: 103.7 kB / 0.6221 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.007626, allocations: 59.8 kB / 0.6222 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.007655, allocations: 12 kB / 0.6222 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.007791, allocations: 55.81 kB / 0.6222 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.007854, allocations: 39.91 kB / 0.6223 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.839e-05/0.007932, allocations: 47.84 kB / 0.6223 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002945/0.008227, allocations: 183.4 kB / 0.6225 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.008231, allocations: 0 / 0.6225 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.362e-06/0.008232, allocations: 0 / 0.6225 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.008236, allocations: 0 / 0.6225 GB, free: 0.5625 MB / 0.5294 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.0007413/0.008978, allocations: 425.1 kB / 0.6229 GB, free: 108 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.009015, allocations: 13.47 kB / 0.6229 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/0.009322, allocations: 40.81 kB / 0.623 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.009589, allocations: 154.2 kB / 0.6231 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/0.009661, allocations: 64.16 kB / 0.6232 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.009695, allocations: 12.38 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.01002, allocations: 177.8 kB / 0.6233 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.01003, allocations: 4 kB / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.01005, allocations: 4 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.01007, allocations: 4 kB / 0.6234 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002378/0.01031, allocations: 117.6 kB / 0.6235 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.01117, allocations: 0.5582 MB / 0.624 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.01144, allocations: 84.25 kB / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.01154, allocations: 58.61 kB / 0.6242 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.01156, allocations: 0 / 0.6242 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002473/0.0118, allocations: 176.4 kB / 0.6243 GB, free: 14.49 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.01181, allocations: 0 / 0.6243 GB, free: 14.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004309/0.01224, allocations: 218.9 kB / 0.6245 GB, free: 14.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.01234, allocations: 140.5 kB / 0.6247 GB, free: 14.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.01253, allocations: 186.8 kB / 0.6248 GB, free: 13.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.01256, allocations: 33.7 kB / 0.6249 GB, free: 13.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.01267, allocations: 143.7 kB / 0.625 GB, free: 13.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.01269, allocations: 19.86 kB / 0.625 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.88e-05/0.01276, allocations: 41.7 kB / 0.6251 GB, free: 13.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.01292, allocations: 318.8 kB / 0.6254 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.01306, allocations: 99.38 kB / 0.6255 GB, free: 13.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.01325, allocations: 164.8 kB / 0.6256 GB, free: 13.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.01356, allocations: 234.4 kB / 0.6258 GB, free: 12.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01356, allocations: 0 / 0.6258 GB, free: 12.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00046/0.01402, allocations: 308.1 kB / 0.6261 GB, free: 12.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/0.01409, allocations: 59.41 kB / 0.6262 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.01409, allocations: 0 / 0.6262 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.01411, allocations: 4 kB / 0.6262 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.01425, allocations: 39.8 kB / 0.6262 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.01426, allocations: 8.297 kB / 0.6262 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.0144, allocations: 27.89 kB / 0.6263 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.01441, allocations: 8 kB / 0.6263 GB, free: 12.24 MB / 0.545 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.0001707/0.01458, allocations: 169.3 kB / 0.6264 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.01461, allocations: 15.91 kB / 0.6265 GB, free: 12.04 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.01465, allocations: 17.45 kB / 0.6265 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.01465, allocations: 0 / 0.6265 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.01466, allocations: 3.938 kB / 0.6265 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01467, allocations: 4 kB / 0.6265 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.01485, allocations: 145.3 kB / 0.6266 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.01485, allocations: 3.984 kB / 0.6266 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.01493, allocations: 11.98 kB / 0.6266 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.01494, allocations: 3.938 kB / 0.6266 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.01495, allocations: 4 kB / 0.6266 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01495, allocations: 0 / 0.6266 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.01496, allocations: 3.938 kB / 0.6266 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004853/0.01544, allocations: 286 kB / 0.6269 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.01547, allocations: 15.94 kB / 0.6269 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.0155, allocations: 4 kB / 0.6269 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.01559, allocations: 16.05 kB / 0.627 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.01567, allocations: 15.92 kB / 0.627 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.01568, allocations: 4 kB / 0.627 GB, free: 11.45 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001289/0.01581, allocations: 136.3 kB / 0.6271 GB, free: 11.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01581, allocations: 0 / 0.6271 GB, free: 11.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002602/0.01607, allocations: 32 kB / 0.6271 GB, free: 11.28 MB / 0.545 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 0.0001325/0.0162, allocations: 99.23 kB / 0.6272 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.01662, allocations: 303.9 kB / 0.6275 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01662, allocations: 0 / 0.6275 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.01679, allocations: 121 kB / 0.6276 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.01704, allocations: 18.5 kB / 0.6277 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.01767, allocations: 307.6 kB / 0.6279 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.01779, allocations: 102.8 kB / 0.628 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.281e-05/0.01787, allocations: 20.62 kB / 0.6281 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.963e-05/0.01791, allocations: 20.5 kB / 0.6281 GB, free: 10.19 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.01791, allocations: 0 / 0.6281 GB, free: 10.19 MB / 0.545 GB Notification: Performance of Templates: time 0.00515/0.02306, allocations: 1.46 MB / 0.6295 GB, free: 8.77 MB / 0.545 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.836671933531761] Failed to read output from testmodel.py, exit status != 0: 0.0319255031645298 0.047524309 0.036137301000000004 Calling exit ...