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.0009838/0.0009838, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.043/1.043, allocations: 177.1 MB / 200.3 MB, free: 5.348 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.001074/0.001074, allocations: 163.4 kB / 256.9 MB, free: 12.8 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.02522/0.02522, allocations: 6.658 MB / 320.1 MB, free: 11.43 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 1.523e-06/1.523e-06, allocations: 0 / 392.1 MB, free: 3.352 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.29e-05, allocations: 2.312 kB / 392.1 MB, free: 3.348 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.004091/0.004114, allocations: 4.011 MB / 396.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.005889, allocations: 1.18 MB / 397.3 MB, free: 14.13 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.006113, allocations: 35.75 kB / 397.3 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.0064, allocations: 174.6 kB / 397.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007269/0.007127, allocations: 313.9 kB / 397.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.007426, allocations: 183.6 kB / 398 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.008969, allocations: 2.528 MB / 400.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.01003, allocations: 1.297 MB / 401.8 MB, free: 9.539 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/0.01132, allocations: 1.782 MB / 403.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.01253, allocations: 1.415 MB / 405 MB, free: 6.336 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003211/0.01285, allocations: 316 kB / 405.3 MB, free: 6.027 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003641/0.01322, allocations: 324 kB / 405.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005589/0.01377, allocations: 0.892 MB / 406.5 MB, free: 4.816 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008194/0.01459, allocations: 1.002 MB / 407.5 MB, free: 3.812 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.01621, allocations: 2.465 MB / 410 MB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01621, allocations: 0 / 410 MB, free: 1.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01621, allocations: 0 / 410 MB, free: 1.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.01623, allocations: 0 / 410 MB, free: 1.34 MB / 378.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.0041/0.02033, allocations: 4.853 MB / 414.8 MB, free: 12.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.02038, allocations: 12.03 kB / 414.8 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006518/0.02103, allocations: 0.503 MB / 415.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.0222, allocations: 1.207 MB / 416.5 MB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.254e-05/0.02229, allocations: 168.9 kB / 416.7 MB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.02251, allocations: 240.3 kB / 416.9 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.0243, allocations: 1.771 MB / 418.7 MB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.02434, allocations: 3.938 kB / 418.7 MB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.0245, allocations: 95.98 kB / 418.8 MB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.02453, allocations: 56 kB / 418.9 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008319/0.02536, allocations: 0.5615 MB / 419.4 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006072/0.03143, allocations: 5.695 MB / 425.1 MB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.03219, allocations: 0.8119 MB / 425.9 MB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.03268, allocations: 427.9 kB / 426.4 MB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/0.03273, allocations: 24.94 kB / 426.4 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006235/0.03336, allocations: 0.6749 MB / 427.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.815e-06/0.03336, allocations: 0 / 427.1 MB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=127): time 0.002751/0.03611, allocations: 1.93 MB / 429 MB, free: 13.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.305e-05/0.0362, allocations: 205.2 kB / 429.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007799/0.03698, allocations: 1.048 MB / 430.2 MB, free: 12.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/0.03704, allocations: 53.7 kB / 430.3 MB, free: 12.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005594/0.0376, allocations: 1.085 MB / 431.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.03784, allocations: 476.1 kB / 431.8 MB, free: 10.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.03809, allocations: 272.4 kB / 432.1 MB, free: 10.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004329/0.03853, allocations: 0.5666 MB / 432.7 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.03871, allocations: 134.4 kB / 432.8 MB, free: 9.895 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004121/0.03912, allocations: 0.6784 MB / 433.5 MB, free: 9.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/0.03973, allocations: 0.7279 MB / 434.2 MB, free: 8.168 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.03974, allocations: 4 kB / 434.2 MB, free: 8.164 MB / 410.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001005/0.04074, allocations: 0.9529 MB / 435.2 MB, free: 7.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.04077, allocations: 10.81 kB / 435.2 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.04078, allocations: 11.98 kB / 435.2 MB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003153/0.04109, allocations: 187.5 kB / 435.4 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005002/0.04159, allocations: 255.6 kB / 435.6 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.04367, allocations: 3.148 MB / 438.8 MB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003207/0.04399, allocations: 64.03 kB / 438.8 MB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.04404, allocations: 40 kB / 438.9 MB, free: 3.375 MB / 410.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.0003531/0.0444, allocations: 250.9 kB / 439.1 MB, free: 3.117 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/0.04481, allocations: 183.1 kB / 439.3 MB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001429/0.04495, allocations: 165.6 kB / 439.5 MB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.04496, allocations: 12 kB / 439.5 MB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.04497, allocations: 4 kB / 439.5 MB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.04498, allocations: 7.969 kB / 439.5 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.04757, allocations: 2.283 MB / 441.8 MB, free: 416 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.04758, allocations: 4 kB / 441.8 MB, free: 412 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003887/0.04797, allocations: 175.9 kB / 441.9 MB, free: 236 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003214/0.04829, allocations: 183.3 kB / 442.1 MB, free: 48 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.04835, allocations: 43.97 kB / 442.2 MB, free: 4 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1382/0.1865, allocations: 3.074 MB / 445.2 MB, free: 151.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1865, allocations: 2.438 kB / 445.2 MB, free: 151.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.1885, allocations: 1.25 MB / 446.5 MB, free: 150.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/0.189, allocations: 242.3 kB / 446.7 MB, free: 150.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.1891, allocations: 45.72 kB / 446.8 MB, free: 150.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.1894, allocations: 56.55 kB / 446.8 MB, free: 150.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.1897, allocations: 97.83 kB / 446.9 MB, free: 150.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/0.1897, allocations: 33.86 kB / 447 MB, free: 150.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006688/0.1904, allocations: 0.5761 MB / 447.5 MB, free: 150.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1904, allocations: 1.094 kB / 447.5 MB, free: 150.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001385/0.1918, allocations: 441.8 kB / 448 MB, free: 150.7 MB / 410.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.0002028/0.192, allocations: 164.2 kB / 448.1 MB, free: 150.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.1935, allocations: 0.948 MB / 449.1 MB, free: 150.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1935, allocations: 1.031 kB / 449.1 MB, free: 150.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007757/0.1943, allocations: 0.671 MB / 449.7 MB, free: 150.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.1952, allocations: 319.6 kB / 450.1 MB, free: 150.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005427/0.2006, allocations: 3.861 MB / 453.9 MB, free: 148.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.2013, allocations: 0.6753 MB / 454.6 MB, free: 148.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000422/0.2017, allocations: 157.3 kB / 454.7 MB, free: 148.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006521/0.2024, allocations: 392.7 kB / 455.1 MB, free: 148.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.2024, allocations: 0 / 455.1 MB, free: 148.4 MB / 410.7 MB Notification: Performance of Templates: time 0.02773/0.2301, allocations: 23.14 MB / 478.3 MB, free: 131.4 MB / 410.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.5826272410340607]