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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 117.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 245.5 MB, free: 14.14 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 189.9 kB / 300.5 MB, free: 9.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04263/0.04263, allocations: 8.928 MB / 364.3 MB, free: 10.15 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002405/0.002405, allocations: 83.09 kB / 487.2 MB, free: 11.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.09204, allocations: 54.41 MB / 0.5289 GB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.006207/0.09824, allocations: 4.096 MB / 0.5329 GB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.1007, allocations: 1.118 MB / 0.534 GB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004451/0.1011, allocations: 27.88 kB / 0.5341 GB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.1016, allocations: 174.6 kB / 0.5342 GB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009749/0.1026, allocations: 290.4 kB / 0.5345 GB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004507/0.103, allocations: 167.7 kB / 0.5347 GB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0027/0.1057, allocations: 2.416 MB / 0.537 GB, free: 8.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002467/0.1082, allocations: 1.87 MB / 0.5388 GB, free: 6.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001521/0.1097, allocations: 1.168 MB / 0.54 GB, free: 5.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.1115, allocations: 1.37 MB / 0.5413 GB, free: 4.027 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004467/0.1119, allocations: 316 kB / 0.5416 GB, free: 3.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005513/0.1125, allocations: 327.9 kB / 0.5419 GB, free: 3.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00084/0.1133, allocations: 0.8532 MB / 0.5428 GB, free: 2.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.1149, allocations: 1.416 MB / 0.5442 GB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003876/0.1188, allocations: 4.06 MB / 0.5481 GB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1188, allocations: 0 / 0.5481 GB, free: 13.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1188, allocations: 0 / 0.5481 GB, free: 13.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.936e-05/0.1188, allocations: 0 / 0.5481 GB, free: 13.05 MB / 366.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.005166/0.124, allocations: 2.935 MB / 0.551 GB, free: 10.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.124, allocations: 12.03 kB / 0.551 GB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000511/0.1245, allocations: 287.2 kB / 0.5513 GB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.1269, allocations: 1.507 MB / 0.5527 GB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.1271, allocations: 172.9 kB / 0.5529 GB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003933/0.1275, allocations: 240.1 kB / 0.5531 GB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005232/0.1327, allocations: 3.19 MB / 0.5563 GB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.21e-05/0.1327, allocations: 0 / 0.5563 GB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002227/0.1329, allocations: 92 kB / 0.5563 GB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/0.133, allocations: 56 kB / 0.5564 GB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004544/0.1375, allocations: 2.652 MB / 0.559 GB, free: 1.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01226/0.1498, allocations: 7.821 MB / 0.5666 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.153, allocations: 3.007 MB / 0.5696 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001769/0.1547, allocations: 1.01 MB / 0.5705 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.104e-05/0.1548, allocations: 13 kB / 0.5706 GB, free: 5.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/0.1564, allocations: 0.9823 MB / 0.5715 GB, free: 4.324 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 2.455e-06/0.1564, allocations: 7.875 kB / 0.5715 GB, free: 4.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.007911/0.1643, allocations: 4.494 MB / 0.5759 GB, free: 15.78 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.1644, allocations: 209.2 kB / 0.5761 GB, free: 15.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.1661, allocations: 1.227 MB / 0.5773 GB, free: 14.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.453e-05/0.1662, allocations: 53.7 kB / 0.5774 GB, free: 14.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008279/0.167, allocations: 0.9732 MB / 0.5783 GB, free: 13.24 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003856/0.1674, allocations: 460.1 kB / 0.5787 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000415/0.1678, allocations: 238.9 kB / 0.579 GB, free: 12.55 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.168, allocations: 365.9 kB / 0.5793 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.1692, allocations: 0.6583 MB / 0.58 GB, free: 11.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.1706, allocations: 0.9892 MB / 0.5809 GB, free: 10.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.1732, allocations: 1.639 MB / 0.5825 GB, free: 8.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1732, allocations: 7.938 kB / 0.5825 GB, free: 8.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003474/0.1767, allocations: 2.035 MB / 0.5845 GB, free: 6.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1767, allocations: 11.98 kB / 0.5845 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.1767, allocations: 4 kB / 0.5845 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006575/0.1774, allocations: 284.8 kB / 0.5848 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.1785, allocations: 267.6 kB / 0.5851 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005373/0.1839, allocations: 4.082 MB / 0.5891 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007743/0.1846, allocations: 87.98 kB / 0.5891 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-05/0.1847, allocations: 48 kB / 0.5892 GB, free: 1.711 MB / 398.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[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.001345/0.1861, allocations: 0.8431 MB / 0.59 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/0.1863, allocations: 139.2 kB / 0.5901 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003753/0.1866, allocations: 177.3 kB / 0.5903 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.1867, allocations: 12 kB / 0.5903 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/0.1867, allocations: 7.938 kB / 0.5903 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.1867, allocations: 3.984 kB / 0.5903 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007209/0.1939, allocations: 4.241 MB / 0.5945 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.1939, allocations: 3.938 kB / 0.5945 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009066/0.1948, allocations: 191.7 kB / 0.5947 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006393/0.1955, allocations: 272.9 kB / 0.5949 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.1956, allocations: 43.97 kB / 0.595 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005251/0.2008, allocations: 4.021 MB / 0.5989 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2008, allocations: 8 kB / 0.5989 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00472/0.2055, allocations: 2.838 MB / 0.6017 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006727/0.2062, allocations: 372.1 kB / 0.602 GB, free: 4.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.2064, allocations: 44.06 kB / 0.6021 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000699/0.2071, allocations: 87.86 kB / 0.6022 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/0.2074, allocations: 124.8 kB / 0.6023 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/0.2075, allocations: 39.97 kB / 0.6023 GB, free: 3.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.2087, allocations: 0.8658 MB / 0.6032 GB, free: 3.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2087, allocations: 0 / 0.6032 GB, free: 3.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00137/0.2101, allocations: 439.9 kB / 0.6036 GB, free: 2.684 MB / 414.1 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.0002346/0.2103, allocations: 158.2 kB / 0.6037 GB, free: 2.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003174/0.2135, allocations: 1.782 MB / 0.6055 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.2135, allocations: 8.062 kB / 0.6055 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.2155, allocations: 1.108 MB / 0.6066 GB, free: 15.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.2168, allocations: 300.7 kB / 0.6068 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007753/0.2246, allocations: 4.652 MB / 0.6114 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/0.2264, allocations: 1.996 MB / 0.6133 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.2268, allocations: 95.42 kB / 0.6134 GB, free: 8.461 MB / 430.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2268, allocations: 0 / 0.6134 GB, free: 8.461 MB / 430.1 MB Notification: Performance of Templates: time 0.04799/0.2748, allocations: 36.74 MB / 0.6493 GB, free: 3.785 MB / 462.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: 9.879396178992465] Failed to read output from testmodel.py, exit status != 0: 0.42425080202519894 0.445614133 0.32460184000000003 Calling exit ...