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.001268/0.001268, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.409/1.409, allocations: 177.1 MB / 199.4 MB, free: 8.449 MB / 190.1 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.001647/0.001647, allocations: 162.6 kB / 256 MB, free: 4.328 MB / 238.1 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.03953/0.03953, allocations: 6.665 MB / 319 MB, free: 5.391 MB / 302.1 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.513e-06/1.513e-06, allocations: 0 / 445.9 MB, free: 25.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.856e-05, allocations: 6.219 kB / 445.9 MB, free: 25.21 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.003864/0.003893, allocations: 3.774 MB / 449.7 MB, free: 21.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.005838, allocations: 1.149 MB / 450.8 MB, free: 20.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002684/0.006107, allocations: 35.75 kB / 450.9 MB, free: 20.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.006409, allocations: 182.6 kB / 451 MB, free: 20.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007192/0.007128, allocations: 313.9 kB / 451.3 MB, free: 19.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003293/0.007457, allocations: 183.7 kB / 451.5 MB, free: 19.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00142/0.008877, allocations: 2.528 MB / 454.1 MB, free: 17.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.009972, allocations: 1.289 MB / 455.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.01135, allocations: 1.766 MB / 457.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.01254, allocations: 1.278 MB / 458.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003047/0.01285, allocations: 316 kB / 458.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004629/0.01331, allocations: 328 kB / 459 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004643/0.01378, allocations: 0.8686 MB / 459.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008198/0.0146, allocations: 0.9939 MB / 460.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.01699, allocations: 4.164 MB / 465 MB, free: 5.949 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.017, allocations: 0 / 465 MB, free: 5.949 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.017, allocations: 0 / 465 MB, free: 5.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.01704, allocations: 0 / 465 MB, free: 5.949 MB / 334.1 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.004716/0.02175, allocations: 4.005 MB / 469 MB, free: 1.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.02179, allocations: 11.98 kB / 469.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008235/0.02262, allocations: 335.1 kB / 469.4 MB, free: 1.531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.0246, allocations: 1.509 MB / 470.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.02476, allocations: 172.9 kB / 471.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003795/0.02514, allocations: 240.3 kB / 471.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005422/0.03056, allocations: 3.312 MB / 474.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/0.03061, allocations: 3.938 kB / 474.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.03083, allocations: 95.98 kB / 474.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.03088, allocations: 56 kB / 474.8 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004622/0.0355, allocations: 2.648 MB / 477.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01305/0.04856, allocations: 6.815 MB / 484.2 MB, free: 2.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.05091, allocations: 1.513 MB / 485.7 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2055/0.2564, allocations: 1.009 MB / 486.7 MB, free: 43.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001258/0.2565, allocations: 14.06 kB / 486.8 MB, free: 43.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001641/0.2582, allocations: 1.099 MB / 487.9 MB, free: 42.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 4.288e-06/0.2582, allocations: 0 / 487.9 MB, free: 42.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=127): time 0.009684/0.2679, allocations: 4.495 MB / 492.4 MB, free: 42.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.771e-05/0.2679, allocations: 204.5 kB / 492.6 MB, free: 42.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002052/0.27, allocations: 1.27 MB / 493.8 MB, free: 41.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.2702, allocations: 55.8 kB / 493.9 MB, free: 41.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009461/0.2711, allocations: 0.9901 MB / 494.9 MB, free: 40.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003708/0.2715, allocations: 446 kB / 495.3 MB, free: 40.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003917/0.2719, allocations: 242.7 kB / 495.5 MB, free: 40.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.272, allocations: 358 kB / 495.9 MB, free: 40.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.2732, allocations: 0.6727 MB / 496.6 MB, free: 40.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.2746, allocations: 1.122 MB / 497.7 MB, free: 39.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.2769, allocations: 1.651 MB / 499.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.2769, allocations: 2.375 kB / 499.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003873/0.2807, allocations: 2.061 MB / 0.4896 GB, free: 37.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.2808, allocations: 8.578 kB / 0.4897 GB, free: 37.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.2808, allocations: 7.594 kB / 0.4897 GB, free: 37.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006844/0.2815, allocations: 304.7 kB / 0.49 GB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.2825, allocations: 253.8 kB / 0.4902 GB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00402/0.2865, allocations: 3.953 MB / 0.4941 GB, free: 35.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.2877, allocations: 85.16 kB / 0.4941 GB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/0.2878, allocations: 43.47 kB / 0.4942 GB, free: 35.25 MB / 350.1 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.001513/0.2893, allocations: 0.8561 MB / 0.495 GB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002718/0.2896, allocations: 146.6 kB / 0.4952 GB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.2899, allocations: 175.5 kB / 0.4953 GB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.2899, allocations: 13.53 kB / 0.4953 GB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.681e-05/0.2899, allocations: 4 kB / 0.4953 GB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.2899, allocations: 3.469 kB / 0.4953 GB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005011/0.295, allocations: 3.795 MB / 0.4991 GB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.295, allocations: 0 / 0.4991 GB, free: 31.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007388/0.2957, allocations: 190.7 kB / 0.4992 GB, free: 31.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.2962, allocations: 275.9 kB / 0.4995 GB, free: 31.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.712e-05/0.2963, allocations: 51.89 kB / 0.4995 GB, free: 31.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003355/0.2996, allocations: 3.88 MB / 0.5033 GB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2996, allocations: 3.562 kB / 0.5033 GB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.303, allocations: 2.841 MB / 0.5061 GB, free: 24.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006329/0.3036, allocations: 309.1 kB / 0.5064 GB, free: 24.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.3038, allocations: 43.98 kB / 0.5064 GB, free: 24.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006293/0.3044, allocations: 75.88 kB / 0.5065 GB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.3047, allocations: 140.7 kB / 0.5067 GB, free: 24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.3047, allocations: 37.84 kB / 0.5067 GB, free: 23.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000859/0.3056, allocations: 0.8817 MB / 0.5076 GB, free: 23.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3056, allocations: 0 / 0.5076 GB, free: 23.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00123/0.3068, allocations: 444 kB / 0.508 GB, free: 22.64 MB / 350.1 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.0001818/0.307, allocations: 165.2 kB / 0.5081 GB, free: 22.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.3094, allocations: 1.791 MB / 0.5099 GB, free: 20.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3094, allocations: 0 / 0.5099 GB, free: 20.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.3108, allocations: 1.049 MB / 0.5109 GB, free: 19.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.312, allocations: 307.6 kB / 0.5112 GB, free: 19.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.3179, allocations: 4.589 MB / 0.5157 GB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/0.3189, allocations: 1.474 MB / 0.5171 GB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007524/0.3197, allocations: 366.3 kB / 0.5175 GB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.3199, allocations: 96.48 kB / 0.5176 GB, free: 12.82 MB / 350.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3199, allocations: 0 / 0.5176 GB, free: 12.82 MB / 350.1 MB Notification: Performance of Templates: time 0.03622/0.3562, allocations: 21.74 MB / 0.5388 GB, free: 7.461 MB / 366.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.317306809127331] Failed to read output from testmodel.py, exit status != 0: 0.36443112790584564 0.38098200600000004 0.36091683100000005 Calling exit ...