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.001029/0.001029, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001574/0.002603, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.9525/0.9525, allocations: 177.2 MB / 188.2 MB, free: 4.496 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1705/1.123, allocations: 53.64 MB / 241.9 MB, free: 2.742 MB / 234.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.001413/0.001413, allocations: 154.4 kB / 242.8 MB, free: 1.875 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001766/0.003179, allocations: 480.9 kB / 243.2 MB, free: 1.422 MB / 234.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.0255/0.0255, allocations: 6.653 MB / 250.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005736/0.03124, allocations: 2.67 MB / 253.3 MB, free: 7.559 MB / 250.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.233e-06/1.233e-06, allocations: 0 / 254.5 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.225e-05, allocations: 4.703 kB / 254.6 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.003946/0.003968, allocations: 4.084 MB / 258.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.006417, allocations: 1.226 MB / 259.9 MB, free: 0.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.006749, allocations: 35.75 kB / 259.9 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002863/0.007035, allocations: 178.6 kB / 260.1 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008792/0.007914, allocations: 310 kB / 260.4 MB, free: 452 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.008317, allocations: 187.5 kB / 260.6 MB, free: 264 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.01018, allocations: 2.54 MB / 263.1 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.01147, allocations: 1.324 MB / 264.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002372/0.01384, allocations: 1.935 MB / 266.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/0.01598, allocations: 1.407 MB / 267.8 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005739/0.01656, allocations: 316 kB / 268.1 MB, free: 8.629 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005662/0.01712, allocations: 332 kB / 268.4 MB, free: 8.305 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006192/0.01774, allocations: 0.6975 MB / 269.1 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.01888, allocations: 0.8149 MB / 269.9 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.02139, allocations: 2.286 MB / 272.2 MB, free: 4.496 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2e-05/0.02141, allocations: 0 / 272.2 MB, free: 4.496 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.02141, allocations: 0 / 272.2 MB, free: 4.496 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.244e-05/0.02149, allocations: 7.938 kB / 272.2 MB, free: 4.488 MB / 266.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.00472/0.02621, allocations: 3.232 MB / 275.4 MB, free: 1.215 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.02624, allocations: 8.031 kB / 275.4 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008775/0.02712, allocations: 497.7 kB / 275.9 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.0286, allocations: 0.8957 MB / 276.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.02872, allocations: 176.9 kB / 277 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.02902, allocations: 236.4 kB / 277.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.03148, allocations: 1.8 MB / 279 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.681e-05/0.03153, allocations: 7.891 kB / 279 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001828/0.03171, allocations: 100 kB / 279.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.03176, allocations: 59.83 kB / 279.2 MB, free: 13.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.03296, allocations: 0.6304 MB / 279.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01029/0.04325, allocations: 4.474 MB / 284.3 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.04411, allocations: 0.7194 MB / 285 MB, free: 7.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003571/0.04768, allocations: 393.2 kB / 285.4 MB, free: 6.898 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.04774, allocations: 20.98 kB / 285.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006539/0.04839, allocations: 0.6057 MB / 286 MB, free: 6.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 4.328e-06/0.0484, allocations: 4 kB / 286 MB, free: 6.203 MB / 282.7 MB Notification: Performance of matching and sorting (n=127): time 0.006208/0.05461, allocations: 1.676 MB / 287.7 MB, free: 4.504 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.05465, allocations: 68.72 kB / 287.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009717/0.05562, allocations: 0.8045 MB / 288.6 MB, free: 3.605 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/0.05569, allocations: 53.7 kB / 288.6 MB, free: 3.547 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004922/0.05618, allocations: 0.8152 MB / 289.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.05643, allocations: 444.2 kB / 289.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002858/0.05672, allocations: 218.8 kB / 290.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.05683, allocations: 361.8 kB / 290.4 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.05705, allocations: 118.6 kB / 290.6 MB, free: 1.586 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.05747, allocations: 0.5372 MB / 291.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006847/0.05816, allocations: 0.6342 MB / 291.7 MB, free: 172 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.05816, allocations: 0 / 291.7 MB, free: 172 kB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001152/0.05931, allocations: 0.7498 MB / 292.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.05934, allocations: 15.94 kB / 292.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.05935, allocations: 4 kB / 292.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/0.06276, allocations: 159.3 kB / 292.7 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000846/0.06361, allocations: 299.6 kB / 293 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005502/0.06911, allocations: 2.334 MB / 295.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.06966, allocations: 59.97 kB / 295.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.06973, allocations: 36 kB / 295.4 MB, free: 12.43 MB / 298.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[5],switch.control[4],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 (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 {(2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005108/0.07024, allocations: 210.8 kB / 295.6 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.07041, allocations: 131.9 kB / 295.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.07061, allocations: 153.6 kB / 295.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.07063, allocations: 12 kB / 295.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/0.07064, allocations: 7.938 kB / 295.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.07065, allocations: 7.969 kB / 295.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005973/0.07663, allocations: 1.816 MB / 297.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.07663, allocations: 7.938 kB / 297.7 MB, free: 10.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003552/0.08018, allocations: 271.2 kB / 298 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.08053, allocations: 171 kB / 298.1 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003479/0.08088, allocations: 164.8 kB / 298.3 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.566e-05/0.08096, allocations: 39.97 kB / 298.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.08322, allocations: 2.409 MB / 300.8 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.08323, allocations: 4 kB / 300.8 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00748/0.09071, allocations: 1.012 MB / 301.8 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.09089, allocations: 39.98 kB / 301.8 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.09128, allocations: 51.97 kB / 301.9 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.09146, allocations: 108.7 kB / 302 MB, free: 5.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.09152, allocations: 31.98 kB / 302 MB, free: 5.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004712/0.09199, allocations: 401.9 kB / 302.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09199, allocations: 0 / 302.4 MB, free: 5.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.005621/0.09761, allocations: 447.9 kB / 302.8 MB, free: 4.766 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (inductorLoad.inductor[1].i,inductorLoad.inductor[2].i,inductorLoad.inductor[3].i,inductorLoad.inductor[4].i,inductorLoad.inductor[5].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x,rootMeanSquare[4].mean.x,rootMeanSquare[5].mean.x) * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],switch.control[4],switch.control[5],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last,rootMeanSquare[4].mean.y_last,rootMeanSquare[5].mean.y_last) * 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.0002091/0.09782, allocations: 136.3 kB / 303 MB, free: 4.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.09907, allocations: 0.8112 MB / 303.8 MB, free: 3.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.091e-05/0.09912, allocations: 24.58 kB / 303.8 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008979/0.1, allocations: 0.5785 MB / 304.4 MB, free: 3.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.1012, allocations: 424.5 kB / 304.8 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.1162, allocations: 3.861 MB / 308.7 MB, free: 14.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.1169, allocations: 0.5612 MB / 309.2 MB, free: 14.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006765/0.1176, allocations: 154.5 kB / 309.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008531/0.1184, allocations: 341.1 kB / 309.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1184, allocations: 0 / 309.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of Templates: time 0.03224/0.1507, allocations: 23.86 MB / 333.6 MB, free: 6.246 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.085142992436886]