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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 119.2 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 225.6 MB / 245.5 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 190.9 kB / 300.5 MB, free: 9.816 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04314/0.04314, allocations: 8.931 MB / 364.3 MB, free: 10.16 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002404/0.002404, allocations: 85.7 kB / 487.2 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08714/0.08954, allocations: 54.41 MB / 0.5289 GB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.005894/0.09543, allocations: 4.057 MB / 0.5329 GB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.09737, allocations: 1.11 MB / 0.534 GB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.09763, allocations: 27.88 kB / 0.534 GB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003514/0.09798, allocations: 170.7 kB / 0.5342 GB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007431/0.09873, allocations: 278.5 kB / 0.5344 GB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.09908, allocations: 167.7 kB / 0.5346 GB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.1008, allocations: 1.588 MB / 0.5361 GB, free: 9.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001432/0.1022, allocations: 1.132 MB / 0.5373 GB, free: 8.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008073/0.103, allocations: 0.7594 MB / 0.538 GB, free: 7.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.1042, allocations: 0.895 MB / 0.5389 GB, free: 6.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.1045, allocations: 191.9 kB / 0.5391 GB, free: 6.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.1049, allocations: 196 kB / 0.5392 GB, free: 6.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005594/0.1054, allocations: 0.5299 MB / 0.5398 GB, free: 5.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009312/0.1064, allocations: 0.8633 MB / 0.5406 GB, free: 4.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002456/0.1088, allocations: 2.464 MB / 0.543 GB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1088, allocations: 0 / 0.543 GB, free: 2.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1088, allocations: 0 / 0.543 GB, free: 2.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.1088, allocations: 0 / 0.543 GB, free: 2.352 MB / 350.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.003392/0.1122, allocations: 1.917 MB / 0.5449 GB, free: 388 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.1123, allocations: 12.03 kB / 0.5449 GB, free: 376 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.1126, allocations: 179.8 kB / 0.5451 GB, free: 196 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.1142, allocations: 1.022 MB / 0.5461 GB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.544e-05/0.1143, allocations: 107.1 kB / 0.5462 GB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.1146, allocations: 148.1 kB / 0.5463 GB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.1178, allocations: 1.921 MB / 0.5482 GB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.1179, allocations: 4 kB / 0.5482 GB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.118, allocations: 56 kB / 0.5482 GB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.987e-05/0.118, allocations: 32 kB / 0.5483 GB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/0.1208, allocations: 1.599 MB / 0.5498 GB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007562/0.1284, allocations: 4.798 MB / 0.5545 GB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.1304, allocations: 1.791 MB / 0.5563 GB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.1316, allocations: 0.6317 MB / 0.5569 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.1316, allocations: 8.656 kB / 0.5569 GB, free: 3.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.1326, allocations: 0.5984 MB / 0.5575 GB, free: 3.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 2.104e-06/0.1326, allocations: 0 / 0.5575 GB, free: 3.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.005043/0.1377, allocations: 2.793 MB / 0.5602 GB, free: 184 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.1378, allocations: 141.2 kB / 0.5603 GB, free: 12 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.1388, allocations: 0.8049 MB / 0.5611 GB, free: 15.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.1389, allocations: 41.7 kB / 0.5612 GB, free: 15.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.1394, allocations: 0.6214 MB / 0.5618 GB, free: 14.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002361/0.1397, allocations: 281.6 kB / 0.562 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002509/0.1399, allocations: 150.6 kB / 0.5622 GB, free: 14.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002387/0.1401, allocations: 406.7 kB / 0.5626 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007098/0.1409, allocations: 409.7 kB / 0.563 GB, free: 13.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008812/0.1417, allocations: 0.5879 MB / 0.5635 GB, free: 12.63 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.1433, allocations: 0.9972 MB / 0.5645 GB, free: 11.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1433, allocations: 3.938 kB / 0.5645 GB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002159/0.1455, allocations: 1.231 MB / 0.5657 GB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1455, allocations: 8 kB / 0.5657 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1455, allocations: 4.281 kB / 0.5657 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004437/0.146, allocations: 179.5 kB / 0.5659 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.1466, allocations: 155.7 kB / 0.566 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003672/0.1503, allocations: 2.989 MB / 0.569 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.1507, allocations: 51.95 kB / 0.569 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.1508, allocations: 28 kB / 0.569 GB, free: 6.781 MB / 382.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[3],switch.control[2],switch.control[1]) * 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.000758/0.1515, allocations: 0.5681 MB / 0.5696 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.1517, allocations: 87.47 kB / 0.5697 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002492/0.1519, allocations: 112.3 kB / 0.5698 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1519, allocations: 8 kB / 0.5698 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.1519, allocations: 4 kB / 0.5698 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1519, allocations: 3.984 kB / 0.5698 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004329/0.1563, allocations: 2.635 MB / 0.5724 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.1563, allocations: 7.875 kB / 0.5724 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.1568, allocations: 115.9 kB / 0.5725 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003886/0.1572, allocations: 159.6 kB / 0.5726 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.913e-05/0.1572, allocations: 31.98 kB / 0.5727 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.1606, allocations: 2.934 MB / 0.5755 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1606, allocations: 0 / 0.5755 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.1633, allocations: 1.724 MB / 0.5772 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.1637, allocations: 260.5 kB / 0.5775 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.1638, allocations: 31.98 kB / 0.5775 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.1643, allocations: 39.97 kB / 0.5775 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/0.1645, allocations: 80.42 kB / 0.5776 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/0.1645, allocations: 23.98 kB / 0.5776 GB, free: 13.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007412/0.1652, allocations: 0.5653 MB / 0.5782 GB, free: 13.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1652, allocations: 0 / 0.5782 GB, free: 13.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008142/0.1661, allocations: 268 kB / 0.5784 GB, free: 12.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * 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.0001703/0.1662, allocations: 143.2 kB / 0.5786 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.1682, allocations: 1.113 MB / 0.5797 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.1682, allocations: 7.906 kB / 0.5797 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.1693, allocations: 0.6863 MB / 0.5803 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009939/0.1703, allocations: 217.2 kB / 0.5806 GB, free: 10.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.1748, allocations: 2.857 MB / 0.5833 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.176, allocations: 1.473 MB / 0.5848 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.1762, allocations: 59.42 kB / 0.5848 GB, free: 6.211 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1762, allocations: 0 / 0.5848 GB, free: 6.211 MB / 398.1 MB Notification: Performance of Templates: time 0.02836/0.2046, allocations: 23.07 MB / 0.6074 GB, free: 15.21 MB / 430.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: 8.86848311801441] Failed to read output from testmodel.py, exit status != 0: 0.35250127292238176 0.22569761100000002 0.11402284700000001 Calling exit ...