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.0009546/0.0009546, allocations: 81.17 kB / 19.87 MB, free: 4.621 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 1.098/1.098, allocations: 177.2 MB / 200.3 MB, free: 5.352 MB / 186.7 MB " [Timeout remaining time 179] 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.001279/0.001279, allocations: 160.6 kB / 256.9 MB, free: 12.8 MB / 250.7 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.02617/0.02617, allocations: 6.667 MB / 320.1 MB, free: 11.57 MB / 298.7 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.523e-06/1.523e-06, allocations: 0 / 392.1 MB, free: 3.488 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.168e-05, allocations: 2.312 kB / 392.1 MB, free: 3.484 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004059/0.00408, allocations: 3.98 MB / 396.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.006274, allocations: 1.176 MB / 397.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.006589, allocations: 27.81 kB / 397.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.006893, allocations: 174.6 kB / 397.4 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007593/0.007652, allocations: 305.9 kB / 397.7 MB, free: 13.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004005/0.008053, allocations: 187.6 kB / 397.9 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.009267, allocations: 1.657 MB / 399.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007729/0.01004, allocations: 0.8119 MB / 400.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.01117, allocations: 1.135 MB / 401.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.01218, allocations: 0.912 MB / 402.4 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.01247, allocations: 188 kB / 402.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.01274, allocations: 204 kB / 402.8 MB, free: 8.664 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.01308, allocations: 0.5493 MB / 403.4 MB, free: 8.113 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007306/0.01382, allocations: 0.608 MB / 404 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.01504, allocations: 1.507 MB / 405.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01504, allocations: 0 / 405.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.01505, allocations: 8 kB / 405.5 MB, free: 5.984 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.01506, allocations: 0 / 405.5 MB, free: 5.984 MB / 378.7 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.002378/0.01744, allocations: 2.628 MB / 408.1 MB, free: 3.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.01748, allocations: 8.031 kB / 408.1 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004452/0.01792, allocations: 323.8 kB / 408.4 MB, free: 2.984 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000781/0.0187, allocations: 0.8186 MB / 409.3 MB, free: 2.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.01877, allocations: 103.1 kB / 409.4 MB, free: 2.035 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.0189, allocations: 152.3 kB / 409.5 MB, free: 1.887 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.01997, allocations: 1.076 MB / 410.6 MB, free: 0.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.02, allocations: 7.938 kB / 410.6 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-05/0.02008, allocations: 63.98 kB / 410.7 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.02009, allocations: 32 kB / 410.7 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.02111, allocations: 346.8 kB / 411 MB, free: 308 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.02454, allocations: 3.517 MB / 414.5 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.02502, allocations: 492.8 kB / 415 MB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/0.02538, allocations: 281.9 kB / 415.3 MB, free: 11.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.02542, allocations: 16.66 kB / 415.3 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003706/0.02579, allocations: 427 kB / 415.7 MB, free: 11.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=74): time 2.354e-06/0.02579, allocations: 4 kB / 415.7 MB, free: 11.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=78): time 0.001582/0.02737, allocations: 1.199 MB / 416.9 MB, free: 10.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.582e-05/0.02744, allocations: 153.2 kB / 417.1 MB, free: 10.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.02795, allocations: 0.7139 MB / 417.8 MB, free: 9.277 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.02799, allocations: 45.69 kB / 417.8 MB, free: 9.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.02841, allocations: 0.706 MB / 418.6 MB, free: 8.512 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.02856, allocations: 289.7 kB / 418.8 MB, free: 8.227 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.02872, allocations: 172.2 kB / 419 MB, free: 8.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001932/0.02892, allocations: 0.6248 MB / 419.6 MB, free: 7.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.02903, allocations: 81.92 kB / 419.7 MB, free: 7.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.02929, allocations: 428.3 kB / 420.1 MB, free: 6.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.02968, allocations: 458.5 kB / 420.6 MB, free: 6.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.02968, allocations: 4 kB / 420.6 MB, free: 6.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006384/0.03032, allocations: 0.59 MB / 421.2 MB, free: 5.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.03034, allocations: 8 kB / 421.2 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.03034, allocations: 4 kB / 421.2 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002067/0.03055, allocations: 115.4 kB / 421.3 MB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.03089, allocations: 159.7 kB / 421.4 MB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.03241, allocations: 2.607 MB / 424.1 MB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.03262, allocations: 35.98 kB / 424.1 MB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.03265, allocations: 24 kB / 424.1 MB, free: 2.609 MB / 394.7 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.0002197/0.03287, allocations: 212.5 kB / 424.3 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.03297, allocations: 111.4 kB / 424.4 MB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.592e-05/0.03307, allocations: 104.4 kB / 424.5 MB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.03307, allocations: 8 kB / 424.5 MB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.03308, allocations: 7.938 kB / 424.5 MB, free: 2.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.03309, allocations: 3.984 kB / 424.6 MB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.03499, allocations: 1.771 MB / 426.3 MB, free: 328 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.03499, allocations: 4.125 kB / 426.3 MB, free: 324 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.03523, allocations: 115.8 kB / 426.4 MB, free: 208 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.03543, allocations: 115.5 kB / 426.6 MB, free: 88 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.03547, allocations: 23.98 kB / 426.6 MB, free: 64 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.03689, allocations: 2.568 MB / 429.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.0369, allocations: 0 / 429.1 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/0.03768, allocations: 0.8406 MB / 430 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.03785, allocations: 143.4 kB / 430.1 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.03791, allocations: 23.98 kB / 430.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.0381, allocations: 36.02 kB / 430.2 MB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/0.03819, allocations: 68.47 kB / 430.3 MB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.03822, allocations: 15.98 kB / 430.3 MB, free: 12.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.03848, allocations: 418.8 kB / 430.7 MB, free: 11.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-08/0.03848, allocations: 0 / 430.7 MB, free: 11.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000575/0.03906, allocations: 264 kB / 430.9 MB, free: 11.56 MB / 410.7 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.0001333/0.03919, allocations: 137.8 kB / 431.1 MB, free: 11.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.03985, allocations: 0.6331 MB / 431.7 MB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.03985, allocations: 256 / 431.7 MB, free: 10.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.04027, allocations: 493.8 kB / 432.2 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.04111, allocations: 234.4 kB / 432.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.04414, allocations: 2.4 MB / 434.8 MB, free: 7.574 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.04446, allocations: 451.5 kB / 435.3 MB, free: 7.109 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002469/0.0447, allocations: 94.77 kB / 435.3 MB, free: 7.012 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000387/0.04509, allocations: 286 kB / 435.6 MB, free: 6.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.04509, allocations: 0 / 435.6 MB, free: 6.73 MB / 410.7 MB Notification: Performance of Templates: time 0.1398/0.1849, allocations: 14.83 MB / 450.5 MB, free: 153.3 MB / 410.7 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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4292337340302765]