Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.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.001724/0.001724, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.442/1.442, allocations: 177.1 MB / 199.4 MB, free: 8.453 MB / 190.1 MB " [Timeout remaining time 178] 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.001671/0.001671, allocations: 156.7 kB / 256 MB, free: 4.34 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03944/0.03944, allocations: 6.657 MB / 319 MB, free: 5.398 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.311e-05, allocations: 6.219 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.003872/0.003895, allocations: 3.747 MB / 449.6 MB, free: 21.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.005598, allocations: 1.149 MB / 450.8 MB, free: 20.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002366/0.005835, allocations: 35.75 kB / 450.8 MB, free: 20.25 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.00615, allocations: 166.7 kB / 451 MB, free: 20.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007295/0.006879, allocations: 309.9 kB / 451.3 MB, free: 19.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.007216, allocations: 183.6 kB / 451.5 MB, free: 19.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001152/0.008368, allocations: 1.661 MB / 453.1 MB, free: 17.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008144/0.009182, allocations: 0.804 MB / 453.9 MB, free: 17.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.01022, allocations: 1.127 MB / 455.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009593/0.01118, allocations: 0.8261 MB / 455.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.0114, allocations: 192 kB / 456.1 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.01175, allocations: 208 kB / 456.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000417/0.01217, allocations: 0.5337 MB / 456.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006166/0.01278, allocations: 0.608 MB / 457.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.01457, allocations: 2.524 MB / 459.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.01457, allocations: 0 / 459.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.01457, allocations: 0 / 459.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.0146, allocations: 0 / 459.9 MB, free: 11.07 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003042/0.01764, allocations: 2.251 MB / 462.2 MB, free: 8.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.01769, allocations: 19.92 kB / 462.2 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006143/0.0183, allocations: 219.8 kB / 462.4 MB, free: 8.543 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.01964, allocations: 0.9904 MB / 463.4 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.509e-05/0.0197, allocations: 103.1 kB / 463.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.01987, allocations: 148.4 kB / 463.7 MB, free: 7.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.02238, allocations: 2.008 MB / 465.7 MB, free: 5.215 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.02241, allocations: 7.938 kB / 465.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.02254, allocations: 56 kB / 465.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.02256, allocations: 32 kB / 465.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00211/0.02467, allocations: 1.592 MB / 467.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006336/0.03101, allocations: 4.18 MB / 471.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/0.03259, allocations: 0.8913 MB / 472.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.03385, allocations: 0.6356 MB / 473.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.03389, allocations: 8.656 kB / 473.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.03495, allocations: 0.6698 MB / 473.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=74): time 2.635e-06/0.03496, allocations: 4 kB / 473.7 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.005556/0.04051, allocations: 2.717 MB / 476.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.04062, allocations: 137.2 kB / 476.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.04187, allocations: 0.8283 MB / 477.4 MB, free: 9.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.04195, allocations: 49.69 kB / 477.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.0426, allocations: 0.6331 MB / 478.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.04287, allocations: 277.6 kB / 478.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.04314, allocations: 150.6 kB / 478.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002377/0.04337, allocations: 402.7 kB / 478.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007573/0.04413, allocations: 409.7 kB / 479.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009825/0.04511, allocations: 0.6775 MB / 480 MB, free: 6.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.04678, allocations: 0.9975 MB / 481 MB, free: 5.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.04679, allocations: 4 kB / 481 MB, free: 5.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00238/0.04917, allocations: 1.239 MB / 482.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.0492, allocations: 8.469 kB / 482.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.04921, allocations: 11.94 kB / 482.3 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.0497, allocations: 164.8 kB / 482.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007655/0.05046, allocations: 155.7 kB / 482.6 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003745/0.05421, allocations: 2.847 MB / 485.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.05483, allocations: 48.02 kB / 485.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/0.0549, allocations: 32 kB / 485.5 MB, free: 0.8594 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[1],switch.control[2],switch.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009895/0.05589, allocations: 0.5599 MB / 486.1 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.05609, allocations: 87.48 kB / 486.1 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.05635, allocations: 112.4 kB / 486.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.05636, allocations: 8 kB / 486.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.05637, allocations: 0 / 486.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.05638, allocations: 7.984 kB / 486.3 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1869/0.2433, allocations: 2.329 MB / 488.6 MB, free: 49.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.2433, allocations: 3.188 kB / 488.6 MB, free: 49.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.2438, allocations: 114 kB / 488.7 MB, free: 49.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003785/0.2442, allocations: 155.6 kB / 488.9 MB, free: 48.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-05/0.2443, allocations: 30.31 kB / 488.9 MB, free: 48.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/0.2471, allocations: 2.794 MB / 491.7 MB, free: 47.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.2471, allocations: 6.844 kB / 491.7 MB, free: 47.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/0.2502, allocations: 1.725 MB / 493.4 MB, free: 46.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006208/0.2508, allocations: 195 kB / 493.6 MB, free: 46.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.251, allocations: 31.55 kB / 493.6 MB, free: 46.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.2515, allocations: 38.02 kB / 493.7 MB, free: 46.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/0.2517, allocations: 77.47 kB / 493.8 MB, free: 46.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.82e-05/0.2518, allocations: 24.52 kB / 493.8 MB, free: 46.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009807/0.2528, allocations: 0.5819 MB / 494.4 MB, free: 46.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2528, allocations: 0 / 494.4 MB, free: 46.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001102/0.2539, allocations: 269.9 kB / 494.6 MB, free: 46.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (rootMeanSquare[3].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[1].mean.x,inductorLoad.inductor[3].i,inductor.inductor[3].i,inductor.inductor[1].i) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.2541, allocations: 135.8 kB / 494.8 MB, free: 45.92 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.2561, allocations: 1.119 MB / 495.9 MB, free: 45.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2562, allocations: 1.219 kB / 495.9 MB, free: 45.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001166/0.2573, allocations: 0.6659 MB / 496.5 MB, free: 45.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.2584, allocations: 217 kB / 496.8 MB, free: 45.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.2632, allocations: 2.816 MB / 499.6 MB, free: 43.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/0.264, allocations: 0.9258 MB / 0.4888 GB, free: 43.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004997/0.2645, allocations: 225.9 kB / 0.489 GB, free: 43.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001655/0.2647, allocations: 62.59 kB / 0.489 GB, free: 43.59 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2647, allocations: 3.562 kB / 0.489 GB, free: 43.59 MB / 350.1 MB Notification: Performance of Templates: time 0.01909/0.2838, allocations: 13.91 MB / 0.5026 GB, free: 32.01 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & ./HanserModelica_HanserModelica.Electrical.StarDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.030255697667599] Failed to read output from testmodel.py, exit status != 0: 0.2906031310558319 0.300140837 0.283409315 Calling exit ...