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.001082/0.001082, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001823/0.002905, allocations: 440 kB / 10.41 MB, free: 284 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.9562/0.9562, allocations: 177.2 MB / 188.4 MB, free: 4.406 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2066/1.163, allocations: 53.65 MB / 242 MB, free: 2.625 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.00129/0.00129, allocations: 152.2 kB / 242.9 MB, free: 1.742 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005967/0.007258, allocations: 487.3 kB / 243.4 MB, free: 1.281 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.05033/0.05033, allocations: 6.647 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.008034/0.05836, allocations: 2.68 MB / 253.5 MB, free: 7.41 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.643e-06/1.643e-06, allocations: 0 / 254.7 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.866e-05, allocations: 6.25 kB / 254.8 MB, free: 6.117 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.00652/0.006548, allocations: 4.086 MB / 258.8 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003361/0.00991, allocations: 1.234 MB / 260.1 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.01054, allocations: 35.75 kB / 260.1 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.01088, allocations: 178.6 kB / 260.3 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008668/0.01174, allocations: 302 kB / 260.6 MB, free: 272 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.0122, allocations: 195.5 kB / 260.8 MB, free: 76 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.01423, allocations: 2.536 MB / 263.3 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/0.01573, allocations: 1.328 MB / 264.6 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002458/0.01819, allocations: 1.927 MB / 266.6 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002105/0.0203, allocations: 1.411 MB / 268 MB, free: 8.758 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007204/0.02102, allocations: 312 kB / 268.3 MB, free: 8.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.02156, allocations: 332 kB / 268.6 MB, free: 8.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004847/0.02204, allocations: 0.7052 MB / 269.3 MB, free: 7.422 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009699/0.02301, allocations: 0.811 MB / 270.1 MB, free: 6.609 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.02501, allocations: 2.286 MB / 272.4 MB, free: 4.316 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-05/0.02503, allocations: 4 kB / 272.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.02503, allocations: 0 / 272.4 MB, free: 4.312 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000114/0.02515, allocations: 0 / 272.4 MB, free: 4.312 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.004159/0.02931, allocations: 3.236 MB / 275.6 MB, free: 1.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.02935, allocations: 12.03 kB / 275.7 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.03012, allocations: 497.7 kB / 276.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.03142, allocations: 0.8878 MB / 277 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.03153, allocations: 180.9 kB / 277.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/0.03177, allocations: 236.4 kB / 277.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.03386, allocations: 1.8 MB / 279.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.0339, allocations: 11.88 kB / 279.2 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.03403, allocations: 92 kB / 279.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.295e-05/0.03406, allocations: 60 kB / 279.4 MB, free: 13.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.03496, allocations: 0.6305 MB / 280 MB, free: 12.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006561/0.04152, allocations: 4.474 MB / 284.5 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009483/0.04247, allocations: 0.7195 MB / 285.2 MB, free: 7.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006113/0.04308, allocations: 393.1 kB / 285.6 MB, free: 6.723 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/0.04313, allocations: 21 kB / 285.6 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007237/0.04386, allocations: 0.6134 MB / 286.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 3.216e-06/0.04386, allocations: 0 / 286.2 MB, free: 6.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=127): time 0.003352/0.04721, allocations: 1.699 MB / 287.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.04726, allocations: 76.64 kB / 288 MB, free: 4.215 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/0.04814, allocations: 0.8045 MB / 288.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/0.04823, allocations: 57.69 kB / 288.9 MB, free: 3.332 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006333/0.04886, allocations: 0.8152 MB / 289.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.04917, allocations: 436.2 kB / 290.1 MB, free: 2.074 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003052/0.04947, allocations: 226.8 kB / 290.3 MB, free: 1.844 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.04961, allocations: 369.8 kB / 290.7 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.04984, allocations: 114.6 kB / 290.8 MB, free: 1.367 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.05037, allocations: 0.5333 MB / 291.3 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/0.05124, allocations: 0.638 MB / 292 MB, free: 15.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.05124, allocations: 4 kB / 292 MB, free: 15.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001284/0.05253, allocations: 0.7459 MB / 292.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.05256, allocations: 12 kB / 292.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.05257, allocations: 8 kB / 292.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004123/0.05298, allocations: 155.1 kB / 292.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/0.05387, allocations: 303.5 kB / 293.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/0.05642, allocations: 2.329 MB / 295.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/0.05701, allocations: 64 kB / 295.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/0.05709, allocations: 40 kB / 295.6 MB, free: 12.21 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.000622/0.05771, allocations: 202.8 kB / 295.8 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.0579, allocations: 131.9 kB / 296 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.05812, allocations: 157.6 kB / 296.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.05813, allocations: 12 kB / 296.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/0.05815, allocations: 7.938 kB / 296.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.05816, allocations: 7.969 kB / 296.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.06121, allocations: 1.82 MB / 298 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.06122, allocations: 4 kB / 298 MB, free: 9.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007319/0.06195, allocations: 275.2 kB / 298.2 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004106/0.06236, allocations: 175 kB / 298.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003704/0.06273, allocations: 160.8 kB / 298.6 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/0.06281, allocations: 39.97 kB / 298.6 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.0652, allocations: 2.413 MB / 301 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.06521, allocations: 4 kB / 301 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.06657, allocations: 1.02 MB / 302 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.06673, allocations: 47.98 kB / 302.1 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.06714, allocations: 59.95 kB / 302.1 MB, free: 5.496 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.06732, allocations: 100.8 kB / 302.2 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.864e-05/0.06738, allocations: 27.98 kB / 302.3 MB, free: 5.371 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004612/0.06784, allocations: 409.9 kB / 302.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.06784, allocations: 0 / 302.7 MB, free: 4.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001252/0.0691, allocations: 444 kB / 303.1 MB, free: 4.527 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.0002196/0.06932, allocations: 148.1 kB / 303.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.0707, allocations: 0.8209 MB / 304.1 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-05/0.07074, allocations: 28.58 kB / 304.1 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008709/0.07161, allocations: 0.6247 MB / 304.7 MB, free: 2.875 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.07369, allocations: 3.018 MB / 307.7 MB, free: 15.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.08723, allocations: 3.866 MB / 311.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005902/0.08782, allocations: 0.5612 MB / 312.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006598/0.08848, allocations: 146.5 kB / 312.3 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/0.08913, allocations: 345.1 kB / 312.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.583e-06/0.08913, allocations: 0 / 312.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of Templates: time 0.03226/0.1214, allocations: 24.04 MB / 336.7 MB, free: 2.562 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.1836984269320965]