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.001409/0.001409, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.572/1.572, allocations: 230.6 MB / 252.6 MB, free: 8.32 MB / 206.1 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.001826/0.001826, allocations: 210.8 kB / 309.2 MB, free: 3.16 MB / 238.1 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.04138/0.04138, allocations: 8.912 MB / 374.6 MB, free: 1.91 MB / 302.1 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: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002633/0.002633, allocations: 79.88 kB / 0.4897 GB, free: 6.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3151, allocations: 55.61 MB / 0.544 GB, free: 27.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.005028/0.3202, allocations: 4.155 MB / 0.548 GB, free: 24.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.3225, allocations: 1.205 MB / 0.5492 GB, free: 23.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000396/0.3229, allocations: 35.28 kB / 0.5492 GB, free: 23.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00043/0.3234, allocations: 174.2 kB / 0.5494 GB, free: 23.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009553/0.3243, allocations: 296.8 kB / 0.5497 GB, free: 23.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.3248, allocations: 185.8 kB / 0.5499 GB, free: 22.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.3268, allocations: 2.453 MB / 0.5523 GB, free: 21.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.3281, allocations: 1.303 MB / 0.5535 GB, free: 21.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.3293, allocations: 1.205 MB / 0.5547 GB, free: 20.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.3309, allocations: 1.386 MB / 0.5561 GB, free: 19.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003579/0.3312, allocations: 314.8 kB / 0.5564 GB, free: 19.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.3318, allocations: 337.4 kB / 0.5567 GB, free: 19.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005932/0.3324, allocations: 0.8523 MB / 0.5575 GB, free: 19.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001378/0.3337, allocations: 1.428 MB / 0.5589 GB, free: 18.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.338, allocations: 4.096 MB / 0.5629 GB, free: 16.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.338, allocations: 1.312 kB / 0.5629 GB, free: 16.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.338, allocations: 0 / 0.5629 GB, free: 16.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001668/0.3382, allocations: 0 / 0.5629 GB, free: 16.88 MB / 382.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.00907/0.3473, allocations: 4.029 MB / 0.5669 GB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.3473, allocations: 10.59 kB / 0.5669 GB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.3486, allocations: 336.4 kB / 0.5672 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003293/0.3518, allocations: 1.515 MB / 0.5687 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.352, allocations: 180.1 kB / 0.5688 GB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/0.3524, allocations: 235 kB / 0.5691 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005827/0.3582, allocations: 3.186 MB / 0.5722 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/0.3583, allocations: 5.312 kB / 0.5722 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/0.3585, allocations: 92.88 kB / 0.5723 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/0.3585, allocations: 58.81 kB / 0.5723 GB, free: 11.92 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004602/0.3631, allocations: 2.652 MB / 0.5749 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.3771, allocations: 7.782 MB / 0.5825 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.379, allocations: 1.51 MB / 0.584 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3803, allocations: 1.006 MB / 0.585 GB, free: 2.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.405e-05/0.3804, allocations: 17 kB / 0.585 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.3816, allocations: 0.9804 MB / 0.5859 GB, free: 1.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 2.825e-06/0.3816, allocations: 0 / 0.5859 GB, free: 1.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=127): time 0.009326/0.3909, allocations: 4.497 MB / 0.5903 GB, free: 13.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/0.3911, allocations: 205.2 kB / 0.5905 GB, free: 12.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.3932, allocations: 1.28 MB / 0.5918 GB, free: 11.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.3934, allocations: 57.69 kB / 0.5918 GB, free: 11.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.3946, allocations: 1.001 MB / 0.5928 GB, free: 10.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004667/0.395, allocations: 452.2 kB / 0.5932 GB, free: 10.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004427/0.3955, allocations: 238.9 kB / 0.5935 GB, free: 9.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.3957, allocations: 361.9 kB / 0.5938 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.3968, allocations: 0.67 MB / 0.5945 GB, free: 8.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.3983, allocations: 0.9901 MB / 0.5954 GB, free: 7.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.4012, allocations: 1.654 MB / 0.5971 GB, free: 5.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.4012, allocations: 4 kB / 0.5971 GB, free: 5.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004682/0.4059, allocations: 2.058 MB / 0.5991 GB, free: 3.906 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.4059, allocations: 12 kB / 0.5991 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.4059, allocations: 4 kB / 0.5991 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007122/0.4066, allocations: 294.7 kB / 0.5994 GB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4077, allocations: 263.6 kB / 0.5996 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005742/0.4134, allocations: 4.052 MB / 0.6036 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.4145, allocations: 75.94 kB / 0.6036 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.4146, allocations: 52 kB / 0.6037 GB, free: 15.05 MB / 414.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[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.001636/0.4163, allocations: 0.851 MB / 0.6045 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.4165, allocations: 143.4 kB / 0.6047 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003882/0.4169, allocations: 177.9 kB / 0.6048 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.4169, allocations: 15.94 kB / 0.6048 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.808e-05/0.417, allocations: 11.98 kB / 0.6049 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.417, allocations: 3.984 kB / 0.6049 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00765/0.4246, allocations: 4.28 MB / 0.609 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.4246, allocations: 4 kB / 0.609 GB, free: 9.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008715/0.4255, allocations: 187.7 kB / 0.6092 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/0.4261, allocations: 276.9 kB / 0.6095 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.4262, allocations: 43.95 kB / 0.6095 GB, free: 8.984 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005267/0.4315, allocations: 3.947 MB / 0.6134 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.4315, allocations: 12.03 kB / 0.6134 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00465/0.4362, allocations: 2.846 MB / 0.6162 GB, free: 2.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009225/0.4371, allocations: 311 kB / 0.6165 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.4373, allocations: 47.97 kB / 0.6165 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/0.438, allocations: 75.97 kB / 0.6166 GB, free: 1.602 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.4382, allocations: 140.7 kB / 0.6167 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.4383, allocations: 39.97 kB / 0.6168 GB, free: 1.426 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001331/0.4397, allocations: 0.9059 MB / 0.6176 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4397, allocations: 0 / 0.6176 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001486/0.4411, allocations: 440 kB / 0.6181 GB, free: 84 kB / 414.1 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.000261/0.4414, allocations: 162.9 kB / 0.6182 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003266/0.4447, allocations: 1.794 MB / 0.62 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.4447, allocations: 0 / 0.62 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.4465, allocations: 1.05 MB / 0.621 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.4481, allocations: 300.7 kB / 0.6213 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008777/0.4568, allocations: 4.765 MB / 0.6259 GB, free: 7.934 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/0.4588, allocations: 2.035 MB / 0.6279 GB, free: 5.863 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001068/0.4599, allocations: 374.4 kB / 0.6283 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003445/0.4602, allocations: 91.42 kB / 0.6284 GB, free: 5.406 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4602, allocations: 0 / 0.6284 GB, free: 5.406 MB / 430.1 MB Notification: Performance of Templates: time 0.04576/0.506, allocations: 22.8 MB / 0.6506 GB, free: 14.84 MB / 462.1 MB " [Timeout remaining time 659] 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: 5.891962639056146] Failed to read output from testmodel.py, exit status != 0: 0.5155489458702505 0.5303886299999999 0.189136252 Calling exit ...