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.0008042/0.0008042, allocations: 76.55 kB / 19.93 MB, free: 4.633 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 0.8673/0.8673, allocations: 177.1 MB / 200.2 MB, free: 5.965 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.000973/0.000973, allocations: 156.6 kB / 256.7 MB, free: 13.37 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.02191/0.02191, allocations: 6.662 MB / 319.8 MB, free: 26.79 MB / 266.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.222e-06/1.222e-06, allocations: 0 / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.25e-05, allocations: 2.281 kB / 446.6 MB, free: 37.15 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.002865/0.002887, allocations: 3.78 MB / 450.4 MB, free: 33.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.004218, allocations: 1.153 MB / 451.6 MB, free: 32.19 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.004411, allocations: 35.75 kB / 451.6 MB, free: 32.15 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.004658, allocations: 182.6 kB / 451.8 MB, free: 31.97 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005655/0.005224, allocations: 305.9 kB / 452.1 MB, free: 31.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.00546, allocations: 183.6 kB / 452.3 MB, free: 31.49 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009644/0.006425, allocations: 2.528 MB / 454.8 MB, free: 28.95 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008295/0.007254, allocations: 1.289 MB / 456.1 MB, free: 27.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000831/0.008085, allocations: 1.758 MB / 457.8 MB, free: 25.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.008824, allocations: 1.274 MB / 459.1 MB, free: 24.57 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.009, allocations: 316 kB / 459.4 MB, free: 24.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.009248, allocations: 339.9 kB / 459.8 MB, free: 23.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.009541, allocations: 0.8764 MB / 460.6 MB, free: 23.05 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004476/0.009989, allocations: 0.9939 MB / 461.6 MB, free: 22.05 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.01161, allocations: 4.16 MB / 465.8 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.01161, allocations: 0 / 465.8 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01161, allocations: 0 / 465.8 MB, free: 17.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.01164, allocations: 4 kB / 465.8 MB, free: 17.88 MB / 330.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.002855/0.01449, allocations: 3.994 MB / 469.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.01452, allocations: 12.03 kB / 469.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/0.01498, allocations: 335.1 kB / 470.1 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.01624, allocations: 1.513 MB / 471.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.264e-05/0.0163, allocations: 176.9 kB / 471.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.01648, allocations: 232.3 kB / 472 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.01902, allocations: 3.316 MB / 475.4 MB, free: 8.082 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.01906, allocations: 7.938 kB / 475.4 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.01918, allocations: 92 kB / 475.5 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.0192, allocations: 56 kB / 475.5 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.02147, allocations: 2.641 MB / 478.2 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/0.02726, allocations: 6.83 MB / 485 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.02864, allocations: 1.506 MB / 486.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.02965, allocations: 1.01 MB / 487.5 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.02969, allocations: 13 kB / 487.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009494/0.03064, allocations: 1.105 MB / 488.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 3.096e-06/0.03064, allocations: 0 / 488.6 MB, free: 10.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.004823/0.03547, allocations: 4.493 MB / 493.1 MB, free: 6.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.03555, allocations: 205.2 kB / 493.3 MB, free: 5.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.03659, allocations: 1.264 MB / 494.6 MB, free: 4.578 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.752e-05/0.03665, allocations: 53.7 kB / 494.6 MB, free: 4.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005149/0.03717, allocations: 0.9968 MB / 495.6 MB, free: 3.512 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.03738, allocations: 448.2 kB / 496.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.0376, allocations: 238.9 kB / 496.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.0377, allocations: 361.9 kB / 496.6 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006591/0.03836, allocations: 0.6778 MB / 497.3 MB, free: 1.793 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008379/0.0392, allocations: 1.118 MB / 498.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.04065, allocations: 1.651 MB / 0.4884 GB, free: 14.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.04065, allocations: 3.938 kB / 0.4884 GB, free: 14.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001972/0.04263, allocations: 2.058 MB / 0.4904 GB, free: 12.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.04265, allocations: 8 kB / 0.4904 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.04266, allocations: 4 kB / 0.4904 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004142/0.04307, allocations: 300.9 kB / 0.4907 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.0436, allocations: 267.6 kB / 0.4909 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/0.04668, allocations: 3.948 MB / 0.4948 GB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004216/0.0471, allocations: 91.97 kB / 0.4949 GB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.04715, allocations: 44 kB / 0.4949 GB, free: 7.953 MB / 362.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.0008755/0.04803, allocations: 0.8509 MB / 0.4958 GB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.04815, allocations: 147.4 kB / 0.4959 GB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.0483, allocations: 169.6 kB / 0.4961 GB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.04831, allocations: 19.98 kB / 0.4961 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.04833, allocations: 4 kB / 0.4961 GB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.04833, allocations: 7.969 kB / 0.4961 GB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003813/0.05215, allocations: 3.789 MB / 0.4998 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.05215, allocations: 8.156 kB / 0.4998 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004202/0.05257, allocations: 191.7 kB / 0.5 GB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003408/0.05291, allocations: 272.8 kB / 0.5002 GB, free: 2.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.05297, allocations: 43.95 kB / 0.5003 GB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/0.05586, allocations: 3.872 MB / 0.5041 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.05586, allocations: 4.062 kB / 0.5041 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002575/0.05843, allocations: 2.846 MB / 0.5068 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003872/0.05882, allocations: 307 kB / 0.5071 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.05893, allocations: 51.98 kB / 0.5072 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.05925, allocations: 67.92 kB / 0.5073 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.05943, allocations: 144.7 kB / 0.5074 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.05947, allocations: 35.98 kB / 0.5074 GB, free: 10.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007731/0.06025, allocations: 0.8861 MB / 0.5083 GB, free: 10.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.06025, allocations: 0 / 0.5083 GB, free: 10.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008659/0.06111, allocations: 444 kB / 0.5087 GB, free: 9.617 MB / 378.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.0001671/0.06128, allocations: 161.8 kB / 0.5089 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.06315, allocations: 1.802 MB / 0.5106 GB, free: 7.637 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.06315, allocations: 4 kB / 0.5106 GB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001068/0.06422, allocations: 1.105 MB / 0.5117 GB, free: 6.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/0.06498, allocations: 307.4 kB / 0.512 GB, free: 6.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/0.06961, allocations: 4.616 MB / 0.5165 GB, free: 1.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009537/0.07057, allocations: 1.439 MB / 0.5179 GB, free: 60 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.07081, allocations: 96.53 kB / 0.518 GB, free: 15.96 MB / 394.7 MB Notification: Performance of SimCode: time 8.72e-07/0.07081, allocations: 0 / 0.518 GB, free: 15.96 MB / 394.7 MB Notification: Performance of Templates: time 0.02884/0.09965, allocations: 38.29 MB / 0.5554 GB, free: 9.723 MB / 426.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.205563609488308] Failed to read output from testmodel.py, exit status != 0: 0.10470716468989849 0.261108997 0.248036211 Calling exit ...