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.000953/0.000953, allocations: 92.22 kB / 19.65 MB, free: 276 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 0.9731/0.9731, allocations: 177.2 MB / 200 MB, free: 5.555 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.001446/0.001446, allocations: 156.6 kB / 256.6 MB, free: 13.02 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.02654/0.02654, allocations: 6.662 MB / 319.8 MB, free: 26.54 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.703e-06/1.703e-06, allocations: 0 / 391.6 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.955e-05, allocations: 9.906 kB / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.004162/0.004191, allocations: 4.062 MB / 395.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.006294, allocations: 1.188 MB / 396.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.006677, allocations: 35.75 kB / 396.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.007015, allocations: 182.6 kB / 397.1 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008185/0.007834, allocations: 298 kB / 397.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.008249, allocations: 195.5 kB / 397.6 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.009983, allocations: 2.528 MB / 400.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.0113, allocations: 1.304 MB / 401.4 MB, free: 8.727 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.0134, allocations: 1.778 MB / 403.2 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.01525, allocations: 1.399 MB / 404.6 MB, free: 5.543 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005175/0.01577, allocations: 316 kB / 404.9 MB, free: 5.234 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005717/0.01634, allocations: 324 kB / 405.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005943/0.01693, allocations: 0.8921 MB / 406.1 MB, free: 4.023 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.01811, allocations: 1.009 MB / 407.1 MB, free: 3.012 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002966/0.02108, allocations: 2.469 MB / 409.6 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.02109, allocations: 4 kB / 409.6 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.02109, allocations: 0 / 409.6 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001505/0.02124, allocations: 0 / 409.6 MB, free: 0.5312 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.1568/0.178, allocations: 4.83 MB / 414.4 MB, free: 80.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1781, allocations: 11.44 kB / 414.4 MB, free: 80.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.1792, allocations: 0.5029 MB / 414.9 MB, free: 79.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008527/0.1878, allocations: 1.332 MB / 416.3 MB, free: 79.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/0.1879, allocations: 175.9 kB / 416.4 MB, free: 79.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000348/0.1882, allocations: 241.4 kB / 416.7 MB, free: 79.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.2009, allocations: 1.9 MB / 418.6 MB, free: 78.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.851e-05/0.201, allocations: 5.125 kB / 418.6 MB, free: 78.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.2011, allocations: 98.95 kB / 418.7 MB, free: 78.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006075/0.2072, allocations: 55.28 kB / 418.7 MB, free: 78.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/0.2106, allocations: 0.7474 MB / 419.5 MB, free: 78.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.2217, allocations: 6.297 MB / 425.8 MB, free: 74.35 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.223, allocations: 0.8741 MB / 426.6 MB, free: 73.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008281/0.2238, allocations: 480.5 kB / 427.1 MB, free: 73.61 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.21e-05/0.2239, allocations: 36.86 kB / 427.2 MB, free: 73.57 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008136/0.2247, allocations: 0.6922 MB / 427.8 MB, free: 72.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 4.699e-06/0.2247, allocations: 3.047 kB / 427.8 MB, free: 72.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=127): time 0.004264/0.2289, allocations: 2.379 MB / 430.2 MB, free: 70.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.229, allocations: 205.2 kB / 430.4 MB, free: 70.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000815/0.2298, allocations: 1.068 MB / 431.5 MB, free: 69.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.567e-05/0.2299, allocations: 53.7 kB / 431.5 MB, free: 69.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.2303, allocations: 1.083 MB / 432.6 MB, free: 67.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.2305, allocations: 462.9 kB / 433.1 MB, free: 67.5 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.2307, allocations: 264.6 kB / 433.3 MB, free: 67.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.2308, allocations: 0.5589 MB / 433.9 MB, free: 66.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003043/0.2311, allocations: 170.5 kB / 434.1 MB, free: 66.5 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.2315, allocations: 0.7215 MB / 434.8 MB, free: 65.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.2323, allocations: 0.8004 MB / 435.6 MB, free: 64.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2323, allocations: 0 / 435.6 MB, free: 64.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001304/0.2336, allocations: 1.054 MB / 436.6 MB, free: 63.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2336, allocations: 8 kB / 436.7 MB, free: 63.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.2336, allocations: 4 kB / 436.7 MB, free: 63.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003834/0.234, allocations: 205.5 kB / 436.9 MB, free: 63.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.2345, allocations: 259.6 kB / 437.1 MB, free: 63.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.2366, allocations: 3.267 MB / 440.4 MB, free: 59.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.2372, allocations: 75.94 kB / 440.5 MB, free: 59.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.937e-05/0.2372, allocations: 48 kB / 440.5 MB, free: 59.64 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.0004458/0.2377, allocations: 254.6 kB / 440.7 MB, free: 59.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.2378, allocations: 183.1 kB / 440.9 MB, free: 59.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.238, allocations: 161.6 kB / 441.1 MB, free: 59.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.238, allocations: 12 kB / 441.1 MB, free: 59.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.688e-05/0.238, allocations: 4 kB / 441.1 MB, free: 59.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.238, allocations: 7.969 kB / 441.1 MB, free: 59.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.2411, allocations: 2.849 MB / 444 MB, free: 56.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2411, allocations: 0 / 444 MB, free: 56.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.2415, allocations: 191.8 kB / 444.1 MB, free: 55.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000314/0.2418, allocations: 185.2 kB / 444.3 MB, free: 55.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.2419, allocations: 51.06 kB / 444.4 MB, free: 55.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.2438, allocations: 3.189 MB / 447.6 MB, free: 52.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2438, allocations: 0 / 447.6 MB, free: 52.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.2455, allocations: 1.368 MB / 448.9 MB, free: 51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.246, allocations: 271 kB / 449.2 MB, free: 50.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.2461, allocations: 47.97 kB / 449.2 MB, free: 50.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.2464, allocations: 63.95 kB / 449.3 MB, free: 50.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.2466, allocations: 146.6 kB / 449.4 MB, free: 50.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.2466, allocations: 35.98 kB / 449.5 MB, free: 50.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005477/0.2472, allocations: 0.6245 MB / 450.1 MB, free: 49.81 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2472, allocations: 0 / 450.1 MB, free: 49.81 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009496/0.2481, allocations: 443.9 kB / 450.5 MB, free: 49.38 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.0001622/0.2483, allocations: 157.4 kB / 450.7 MB, free: 49.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.2495, allocations: 1.021 MB / 451.7 MB, free: 48.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2495, allocations: 4 kB / 451.7 MB, free: 48.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006603/0.2502, allocations: 0.7011 MB / 452.4 MB, free: 47.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.251, allocations: 326.1 kB / 452.7 MB, free: 47.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/0.2556, allocations: 3.893 MB / 456.6 MB, free: 43.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.256, allocations: 0.6744 MB / 457.3 MB, free: 42.5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005448/0.2565, allocations: 286.2 kB / 457.6 MB, free: 42.22 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.2567, allocations: 96.48 kB / 457.7 MB, free: 42.12 MB / 330.7 MB Notification: Performance of SimCode: time 2.144e-06/0.2567, allocations: 0 / 457.7 MB, free: 42.12 MB / 330.7 MB Notification: Performance of Templates: time 0.02378/0.2805, allocations: 21.78 MB / 479.5 MB, free: 20.73 MB / 330.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.5949833667837083]