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.002429/0.002429, allocations: 85.48 kB / 19.44 MB, free: 344 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.572/1.572, allocations: 177.1 MB / 199.7 MB, free: 5.809 MB / 186.7 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.002555/0.002555, allocations: 156.6 kB / 256.3 MB, free: 13.16 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.04098/0.04098, allocations: 6.667 MB / 319.4 MB, free: 26.57 MB / 266.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.432e-06/1.432e-06, allocations: 0 / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.939e-05, allocations: 2.312 kB / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.006624/0.006653, allocations: 4.015 MB / 394.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002861/0.009514, allocations: 1.18 MB / 396.1 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003895/0.009904, allocations: 35.75 kB / 396.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004317/0.01034, allocations: 174.6 kB / 396.3 MB, free: 13.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.01136, allocations: 313.9 kB / 396.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005109/0.01187, allocations: 179.7 kB / 396.8 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003006/0.01488, allocations: 2.528 MB / 399.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.01692, allocations: 1.301 MB / 400.6 MB, free: 9.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.01977, allocations: 1.782 MB / 402.4 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002407/0.02218, allocations: 1.399 MB / 403.8 MB, free: 5.973 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005394/0.02272, allocations: 320 kB / 404.1 MB, free: 5.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006747/0.02339, allocations: 324 kB / 404.4 MB, free: 5.344 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009773/0.02437, allocations: 0.8882 MB / 405.3 MB, free: 4.453 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.02594, allocations: 1.006 MB / 406.3 MB, free: 3.445 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1568/0.1828, allocations: 4.193 MB / 410.5 MB, free: 74.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.1828, allocations: 1.094 kB / 410.5 MB, free: 74.04 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1828, allocations: 0 / 410.5 MB, free: 74.04 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002145/0.183, allocations: 0 / 410.5 MB, free: 74.04 MB / 330.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.01198/0.195, allocations: 5.586 MB / 416.1 MB, free: 72.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.195, allocations: 9.344 kB / 416.1 MB, free: 72.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.1965, allocations: 0.5038 MB / 416.6 MB, free: 72.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003521/0.2, allocations: 1.366 MB / 418 MB, free: 71.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001438/0.2002, allocations: 175.6 kB / 418.2 MB, free: 71.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003848/0.2006, allocations: 239.5 kB / 418.4 MB, free: 71.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005948/0.2065, allocations: 3.25 MB / 421.6 MB, free: 70.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.145e-05/0.2066, allocations: 9.062 kB / 421.7 MB, free: 70.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002276/0.2068, allocations: 96.22 kB / 421.7 MB, free: 70.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.86e-05/0.2069, allocations: 57.77 kB / 421.8 MB, free: 70.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003979/0.2108, allocations: 2.283 MB / 424.1 MB, free: 69.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.2232, allocations: 8.159 MB / 432.2 MB, free: 64.14 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.2249, allocations: 1.387 MB / 433.6 MB, free: 62.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.2261, allocations: 0.9129 MB / 434.5 MB, free: 61.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.006e-05/0.2262, allocations: 24.94 kB / 434.6 MB, free: 61.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/0.2274, allocations: 1.102 MB / 435.7 MB, free: 60.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.456e-06/0.2274, allocations: 0.5625 kB / 435.7 MB, free: 60.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.006464/0.2338, allocations: 4.136 MB / 439.8 MB, free: 56.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.2339, allocations: 204.5 kB / 440 MB, free: 56.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.2354, allocations: 1.423 MB / 441.4 MB, free: 54.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.232e-05/0.2354, allocations: 57.7 kB / 441.5 MB, free: 54.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006115/0.236, allocations: 1.118 MB / 442.6 MB, free: 53.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.2363, allocations: 486.9 kB / 443.1 MB, free: 53.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/0.2366, allocations: 300.6 kB / 443.4 MB, free: 52.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2368, allocations: 0.5784 MB / 444 MB, free: 52.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/0.2375, allocations: 0.5685 MB / 444.5 MB, free: 51.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009529/0.2385, allocations: 1.166 MB / 445.7 MB, free: 50.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.2402, allocations: 1.632 MB / 447.3 MB, free: 48.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.2402, allocations: 4 kB / 447.3 MB, free: 48.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002571/0.2428, allocations: 1.927 MB / 449.3 MB, free: 46.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2428, allocations: 8 kB / 449.3 MB, free: 46.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.2428, allocations: 12.31 kB / 449.3 MB, free: 46.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/0.2435, allocations: 301.2 kB / 449.6 MB, free: 46.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009604/0.2445, allocations: 264.8 kB / 449.8 MB, free: 46.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/0.2483, allocations: 4.564 MB / 454.4 MB, free: 41.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009162/0.2492, allocations: 87.62 kB / 454.5 MB, free: 41.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/0.2493, allocations: 48 kB / 454.5 MB, free: 41.44 MB / 330.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.0009418/0.2502, allocations: 0.7663 MB / 455.3 MB, free: 40.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.2505, allocations: 183.1 kB / 455.5 MB, free: 40.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.2508, allocations: 157.6 kB / 455.6 MB, free: 40.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.2508, allocations: 12 kB / 455.6 MB, free: 40.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/0.2508, allocations: 4 kB / 455.6 MB, free: 40.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.2508, allocations: 7.984 kB / 455.6 MB, free: 40.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005966/0.2568, allocations: 4.093 MB / 459.7 MB, free: 36.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.2568, allocations: 3.984 kB / 459.7 MB, free: 36.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/0.2575, allocations: 187.9 kB / 459.9 MB, free: 36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005583/0.2581, allocations: 266 kB / 460.2 MB, free: 35.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.207e-05/0.2582, allocations: 43.97 kB / 460.2 MB, free: 35.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003478/0.2617, allocations: 4.133 MB / 464.4 MB, free: 31.45 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.2617, allocations: 6.938 kB / 464.4 MB, free: 31.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/0.2649, allocations: 2.526 MB / 466.9 MB, free: 28.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008472/0.2657, allocations: 270.9 kB / 467.2 MB, free: 28.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.2659, allocations: 43.98 kB / 467.2 MB, free: 28.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006295/0.2666, allocations: 63.94 kB / 467.3 MB, free: 28.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.2668, allocations: 152.7 kB / 467.4 MB, free: 28.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.58e-05/0.2669, allocations: 38.05 kB / 467.4 MB, free: 28.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009732/0.2679, allocations: 0.8782 MB / 468.3 MB, free: 27.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2679, allocations: 4 kB / 468.3 MB, free: 27.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001311/0.2692, allocations: 448 kB / 468.8 MB, free: 26.99 MB / 330.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.0001798/0.2694, allocations: 154.9 kB / 468.9 MB, free: 26.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.2719, allocations: 1.752 MB / 470.7 MB, free: 25.06 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2719, allocations: 0 / 470.7 MB, free: 25.06 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.2733, allocations: 1.032 MB / 471.7 MB, free: 24.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.2746, allocations: 324 kB / 472 MB, free: 23.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/0.2807, allocations: 4.305 MB / 476.3 MB, free: 19.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009981/0.2817, allocations: 1.328 MB / 477.7 MB, free: 17.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000764/0.2825, allocations: 282.3 kB / 477.9 MB, free: 17.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.2827, allocations: 92.48 kB / 478 MB, free: 17.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.2827, allocations: 4 kB / 478 MB, free: 17.59 MB / 330.7 MB Notification: Performance of Templates: time 0.03154/0.3143, allocations: 21.76 MB / 499.8 MB, free: 12.2 MB / 346.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: 5.5814916549716145]