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.001589/0.001589, allocations: 88.72 kB / 19.44 MB, free: 352 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.635/1.635, allocations: 177.1 MB / 199.7 MB, free: 4.801 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.002084/0.002084, allocations: 165.1 kB / 256.3 MB, free: 324 kB / 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.04387/0.04387, allocations: 6.665 MB / 319.4 MB, free: 1.344 MB / 298.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 2.044e-06/2.044e-06, allocations: 0 / 390.9 MB, free: 58.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.53e-05/3.734e-05, allocations: 6.328 kB / 390.9 MB, free: 58.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.005173/0.005211, allocations: 3.787 MB / 394.7 MB, free: 54.85 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.007933, allocations: 1.168 MB / 395.9 MB, free: 53.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007612/0.008694, allocations: 35.75 kB / 395.9 MB, free: 53.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.009331, allocations: 174.7 kB / 396.1 MB, free: 53.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.01081, allocations: 302 kB / 396.4 MB, free: 53.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006873/0.0115, allocations: 199.6 kB / 396.6 MB, free: 52.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002381/0.01388, allocations: 2.521 MB / 399.1 MB, free: 50.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.0156, allocations: 1.289 MB / 400.4 MB, free: 49.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.01865, allocations: 1.758 MB / 402.1 MB, free: 47.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002301/0.02095, allocations: 1.278 MB / 403.4 MB, free: 46.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007408/0.02169, allocations: 319.9 kB / 403.7 MB, free: 45.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.0229, allocations: 328 kB / 404 MB, free: 45.43 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.02397, allocations: 0.8764 MB / 404.9 MB, free: 44.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002425/0.0264, allocations: 0.9861 MB / 405.9 MB, free: 43.56 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004443/0.03084, allocations: 4.168 MB / 410.1 MB, free: 39.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.03085, allocations: 0 / 410.1 MB, free: 39.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.03085, allocations: 0 / 410.1 MB, free: 39.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001674/0.03102, allocations: 0 / 410.1 MB, free: 39.38 MB / 314.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.008523/0.03954, allocations: 3.994 MB / 414.1 MB, free: 35.31 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.0396, allocations: 15.92 kB / 414.1 MB, free: 35.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002407/0.042, allocations: 0.5186 MB / 414.6 MB, free: 34.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/0.04543, allocations: 1.552 MB / 416.2 MB, free: 33.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.04562, allocations: 172.9 kB / 416.3 MB, free: 33.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/0.0467, allocations: 240.3 kB / 416.6 MB, free: 32.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008098/0.0548, allocations: 3.312 MB / 419.9 MB, free: 29.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.052e-05/0.05489, allocations: 7.875 kB / 419.9 MB, free: 29.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005223/0.05541, allocations: 99.98 kB / 420 MB, free: 29.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.05546, allocations: 56 kB / 420 MB, free: 29.19 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00604/0.0615, allocations: 2.641 MB / 422.7 MB, free: 26.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.07823, allocations: 6.916 MB / 429.6 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002574/0.08081, allocations: 1.514 MB / 431.1 MB, free: 17.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/0.08264, allocations: 1.01 MB / 432.1 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.08275, allocations: 24.94 kB / 432.1 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001783/0.08453, allocations: 1.098 MB / 433.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 4.839e-06/0.08454, allocations: 0 / 433.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=127): time 0.01003/0.09456, allocations: 4.532 MB / 437.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.09467, allocations: 201.2 kB / 438 MB, free: 10.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.09702, allocations: 1.268 MB / 439.2 MB, free: 9.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003057/0.09732, allocations: 53.7 kB / 439.3 MB, free: 9.637 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009253/0.09825, allocations: 1.001 MB / 440.3 MB, free: 8.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005599/0.09881, allocations: 440.2 kB / 440.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006141/0.09942, allocations: 238.9 kB / 440.9 MB, free: 7.953 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.09952, allocations: 361.9 kB / 441.3 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.1007, allocations: 0.6739 MB / 442 MB, free: 6.918 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.102, allocations: 1.119 MB / 443.1 MB, free: 5.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.1044, allocations: 1.658 MB / 444.7 MB, free: 3.898 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-05/0.1045, allocations: 0 / 444.7 MB, free: 3.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004151/0.1086, allocations: 2.113 MB / 446.9 MB, free: 1.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.1087, allocations: 11.98 kB / 446.9 MB, free: 1.766 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.1087, allocations: 8 kB / 446.9 MB, free: 1.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008005/0.1095, allocations: 302.2 kB / 447.2 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.1107, allocations: 263.6 kB / 447.4 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009136/0.1199, allocations: 3.98 MB / 451.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.1222, allocations: 79.97 kB / 451.5 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005042/0.1227, allocations: 44 kB / 451.5 MB, free: 13 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.003591/0.1263, allocations: 0.8629 MB / 452.4 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.1273, allocations: 187 kB / 452.6 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008606/0.1282, allocations: 177.6 kB / 452.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/0.1282, allocations: 12 kB / 452.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.959e-05/0.1283, allocations: 4 kB / 452.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-05/0.1283, allocations: 3.984 kB / 452.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/0.1442, allocations: 3.797 MB / 456.6 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-05/0.1442, allocations: 4 kB / 456.6 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001636/0.1458, allocations: 191.8 kB / 456.8 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.1474, allocations: 280.6 kB / 457 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004214/0.1478, allocations: 39.97 kB / 457.1 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/0.1597, allocations: 3.904 MB / 461 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/0.1597, allocations: 4.031 kB / 461 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.1712, allocations: 2.889 MB / 463.9 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/0.1731, allocations: 307 kB / 464.2 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007841/0.1739, allocations: 43.97 kB / 464.2 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001885/0.1758, allocations: 71.94 kB / 464.3 MB, free: 36 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2102/0.386, allocations: 132.3 kB / 464.4 MB, free: 77.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002239/0.3862, allocations: 45.38 kB / 464.5 MB, free: 77.78 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001922/0.3882, allocations: 0.8815 MB / 465.3 MB, free: 77.67 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.3882, allocations: 0.7812 kB / 465.3 MB, free: 77.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002341/0.3905, allocations: 447.7 kB / 465.8 MB, free: 77.67 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.0004911/0.391, allocations: 159.4 kB / 465.9 MB, free: 77.57 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004423/0.3954, allocations: 1.801 MB / 467.7 MB, free: 77.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.3954, allocations: 2.25 kB / 467.7 MB, free: 77.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002814/0.3982, allocations: 1.043 MB / 468.8 MB, free: 77.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/0.4008, allocations: 318.1 kB / 469.1 MB, free: 76.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/0.4113, allocations: 4.659 MB / 473.7 MB, free: 74.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/0.4138, allocations: 1.471 MB / 475.2 MB, free: 74.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001342/0.4152, allocations: 371.7 kB / 475.6 MB, free: 74.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/0.4157, allocations: 92.69 kB / 475.7 MB, free: 74.42 MB / 330.7 MB Notification: Performance of SimCode: time 2.054e-06/0.4157, allocations: 0 / 475.7 MB, free: 74.42 MB / 330.7 MB Notification: Performance of Templates: time 0.03516/0.4509, allocations: 21.82 MB / 497.5 MB, free: 54.1 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.384395900997333]