Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarPolygon.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.001212/0.001212, allocations: 93.06 kB / 19.65 MB, free: 284 kB / 13.93 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.064/1.064, allocations: 177.1 MB / 200 MB, free: 5.547 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.001379/0.001379, allocations: 156.6 kB / 256.6 MB, free: 13 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.02392/0.02392, allocations: 6.66 MB / 319.8 MB, free: 11.64 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.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") translateModel(HanserModelica.Electrical.StarPolygon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarPolygon") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 391.6 MB, free: 3.691 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.657e-05/1.791e-05, allocations: 5.688 kB / 391.7 MB, free: 3.688 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.004003/0.004021, allocations: 4.062 MB / 395.7 MB, free: 15.6 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.005908, allocations: 1.176 MB / 396.9 MB, free: 14.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.006176, allocations: 35.75 kB / 396.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002848/0.006461, allocations: 178.6 kB / 397.1 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007232/0.007184, allocations: 306 kB / 397.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.007536, allocations: 191.5 kB / 397.6 MB, free: 13.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.009518, allocations: 2.528 MB / 400.1 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.01076, allocations: 1.297 MB / 401.4 MB, free: 9.824 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.01299, allocations: 1.786 MB / 403.2 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.01472, allocations: 1.399 MB / 404.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005766/0.0153, allocations: 316 kB / 404.9 MB, free: 6.324 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004621/0.01576, allocations: 320 kB / 405.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008309/0.01659, allocations: 0.8882 MB / 406.1 MB, free: 5.121 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.01765, allocations: 1.009 MB / 407.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001744/0.01939, allocations: 2.465 MB / 409.6 MB, free: 1.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.0194, allocations: 4 kB / 409.6 MB, free: 1.633 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.0194, allocations: 4 kB / 409.6 MB, free: 1.629 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.709e-05/0.01942, allocations: 0 / 409.6 MB, free: 1.629 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.004627/0.02405, allocations: 4.832 MB / 414.4 MB, free: 12.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.02409, allocations: 8.031 kB / 414.4 MB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006931/0.02478, allocations: 0.5069 MB / 414.9 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.0261, allocations: 1.308 MB / 416.2 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.976e-05/0.0262, allocations: 176.9 kB / 416.4 MB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.02641, allocations: 248.3 kB / 416.7 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00217/0.02858, allocations: 1.9 MB / 418.6 MB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/0.02862, allocations: 7.938 kB / 418.6 MB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.02875, allocations: 95.98 kB / 418.7 MB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.02878, allocations: 59.94 kB / 418.7 MB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/0.03007, allocations: 0.7446 MB / 419.5 MB, free: 7.48 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.03614, allocations: 6.288 MB / 425.7 MB, free: 1.031 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000902/0.03704, allocations: 0.8898 MB / 426.6 MB, free: 168 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009057/0.03795, allocations: 472 kB / 427.1 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.038, allocations: 25.47 kB / 427.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006368/0.03863, allocations: 0.7061 MB / 427.8 MB, free: 14.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.374e-06/0.03864, allocations: 0 / 427.8 MB, free: 14.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.003113/0.04175, allocations: 2.369 MB / 430.2 MB, free: 12.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.04183, allocations: 209.2 kB / 430.4 MB, free: 12.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008576/0.04269, allocations: 1.076 MB / 431.5 MB, free: 11.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.04275, allocations: 57.69 kB / 431.5 MB, free: 11.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000537/0.04328, allocations: 1.07 MB / 432.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.04353, allocations: 468.1 kB / 433.1 MB, free: 9.547 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.04378, allocations: 272.5 kB / 433.3 MB, free: 9.273 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.04395, allocations: 0.5589 MB / 433.9 MB, free: 8.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005675/0.04452, allocations: 170.5 kB / 434.1 MB, free: 8.539 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005039/0.04503, allocations: 0.7215 MB / 434.8 MB, free: 7.629 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007757/0.0458, allocations: 0.7983 MB / 435.6 MB, free: 6.699 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.04581, allocations: 4 kB / 435.6 MB, free: 6.695 MB / 410.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001195/0.047, allocations: 1.043 MB / 436.6 MB, free: 5.641 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/0.04702, allocations: 16 kB / 436.6 MB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.04704, allocations: 4 kB / 436.6 MB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/0.04746, allocations: 199.5 kB / 436.8 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.04801, allocations: 267.6 kB / 437.1 MB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.0504, allocations: 3.244 MB / 440.3 MB, free: 1.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.05075, allocations: 79.94 kB / 440.4 MB, free: 1.711 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/0.0508, allocations: 51.98 kB / 440.5 MB, free: 1.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[5].mean.y_last,$PRE.rootMeanSquare[5].mean.y_last,rootMeanSquare[4].mean.y_last,$PRE.rootMeanSquare[4].mean.y_last,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],switch.control[4],switch.control[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 138 * 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 {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003217/0.05112, allocations: 250.6 kB / 440.7 MB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.05127, allocations: 183.1 kB / 440.9 MB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.0517, allocations: 153.6 kB / 441 MB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.05171, allocations: 20 kB / 441.1 MB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.05172, allocations: 4 kB / 441.1 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.05173, allocations: 7.969 kB / 441.1 MB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1528/0.2045, allocations: 2.845 MB / 443.9 MB, free: 152.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.2046, allocations: 3.656 kB / 443.9 MB, free: 152.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/0.2051, allocations: 183.1 kB / 444.1 MB, free: 152.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005233/0.2057, allocations: 195 kB / 444.3 MB, free: 152.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.2058, allocations: 49.41 kB / 444.3 MB, free: 152.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.2082, allocations: 3.197 MB / 447.5 MB, free: 150.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2082, allocations: 5.266 kB / 447.5 MB, free: 150.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.2105, allocations: 1.358 MB / 448.9 MB, free: 150.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.211, allocations: 268.8 kB / 449.2 MB, free: 150.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.2111, allocations: 54.75 kB / 449.2 MB, free: 150.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.2114, allocations: 65.97 kB / 449.3 MB, free: 150.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002589/0.2117, allocations: 141.9 kB / 449.4 MB, free: 150.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.2117, allocations: 38.69 kB / 449.5 MB, free: 150.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007014/0.2124, allocations: 0.6193 MB / 450.1 MB, free: 150.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2124, allocations: 0 / 450.1 MB, free: 150.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001427/0.2139, allocations: 445 kB / 450.5 MB, free: 150.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (rootMeanSquare[5].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[1].mean.x,inductorLoad.inductor[5].i,inductorLoad.inductor[4].i,inductorLoad.inductor[3].i,inductorLoad.inductor[2].i,inductorLoad.inductor[1].i) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[5].mean.y_last,rootMeanSquare[4].mean.y_last,rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,switch.control[5],switch.control[4],switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 5 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001641/0.214, allocations: 159.4 kB / 450.7 MB, free: 150.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.2154, allocations: 1.029 MB / 451.7 MB, free: 149.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2154, allocations: 1.062 kB / 451.7 MB, free: 149.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007741/0.2162, allocations: 0.7008 MB / 452.4 MB, free: 149.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008177/0.217, allocations: 316.4 kB / 452.7 MB, free: 149.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004408/0.2214, allocations: 3.897 MB / 456.6 MB, free: 148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.2218, allocations: 0.6745 MB / 457.3 MB, free: 147.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004314/0.2222, allocations: 288.6 kB / 457.6 MB, free: 147.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.2224, allocations: 93.69 kB / 457.7 MB, free: 147.8 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2224, allocations: 0 / 457.7 MB, free: 147.8 MB / 410.7 MB Notification: Performance of Templates: time 0.02122/0.2436, allocations: 22.73 MB / 480.4 MB, free: 129.1 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.StarPolygon.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.StarPolygon.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarPolygon.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarPolygon.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarPolygon.sim & ./HanserModelica_HanserModelica.Electrical.StarPolygon -abortSlowSimulation -alarm=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7113957428373396]