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.001667/0.001667, allocations: 78.17 kB / 19.76 MB, free: 2.023 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.451/1.451, allocations: 177.2 MB / 200.1 MB, free: 8.355 MB / 190.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.001919/0.001919, allocations: 156.9 kB / 256.6 MB, free: 4.289 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.04042/0.04042, allocations: 6.657 MB / 319.6 MB, free: 5.367 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.002708/0.002708, allocations: 83.88 kB / 446.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1124, allocations: 55.58 MB / 0.4902 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarPolygon): time 0.005426/0.1178, allocations: 3.783 MB / 0.4939 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.12, allocations: 1.145 MB / 0.495 GB, free: 13.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.1203, allocations: 35.75 kB / 0.4951 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.1206, allocations: 174.7 kB / 0.4952 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007923/0.1214, allocations: 294.4 kB / 0.4955 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.1218, allocations: 191.7 kB / 0.4957 GB, free: 13.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002465/0.1243, allocations: 2.455 MB / 0.4981 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.1259, allocations: 1.285 MB / 0.4994 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.1273, allocations: 1.207 MB / 0.5005 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.1293, allocations: 1.425 MB / 0.5019 GB, free: 6.641 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000437/0.1297, allocations: 319.9 kB / 0.5022 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005693/0.1303, allocations: 324 kB / 0.5025 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007906/0.1311, allocations: 0.8493 MB / 0.5034 GB, free: 5.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.1324, allocations: 1.171 MB / 0.5045 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2228/0.3552, allocations: 4.121 MB / 0.5085 GB, free: 45.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3552, allocations: 0 / 0.5085 GB, free: 45.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3552, allocations: 1.25 kB / 0.5085 GB, free: 45.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001775/0.3554, allocations: 0 / 0.5085 GB, free: 45.42 MB / 430.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.009136/0.3645, allocations: 4.024 MB / 0.5125 GB, free: 44.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.3646, allocations: 14.95 kB / 0.5125 GB, free: 44.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/0.3657, allocations: 340.5 kB / 0.5128 GB, free: 44.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002796/0.3685, allocations: 1.514 MB / 0.5143 GB, free: 43.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.3686, allocations: 174.1 kB / 0.5145 GB, free: 43.64 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.3689, allocations: 232.1 kB / 0.5147 GB, free: 43.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004667/0.3736, allocations: 3.318 MB / 0.5179 GB, free: 42.9 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.25e-05/0.3737, allocations: 3.125 kB / 0.5179 GB, free: 42.9 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.3739, allocations: 90.34 kB / 0.518 GB, free: 42.83 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.878e-05/0.3739, allocations: 58.69 kB / 0.5181 GB, free: 42.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006119/0.3801, allocations: 2.648 MB / 0.5206 GB, free: 41.96 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/0.3906, allocations: 6.826 MB / 0.5273 GB, free: 38.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.3924, allocations: 1.499 MB / 0.5288 GB, free: 38.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.3938, allocations: 1.006 MB / 0.5298 GB, free: 37.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.715e-05/0.3939, allocations: 16.81 kB / 0.5298 GB, free: 37.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001289/0.3952, allocations: 1.101 MB / 0.5308 GB, free: 37.45 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.326e-06/0.3952, allocations: 1.25 kB / 0.5309 GB, free: 37.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.00745/0.4026, allocations: 4.497 MB / 0.5352 GB, free: 35.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.4027, allocations: 207.2 kB / 0.5354 GB, free: 35.41 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.4042, allocations: 1.26 MB / 0.5367 GB, free: 34.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/0.4043, allocations: 58.56 kB / 0.5367 GB, free: 34.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000686/0.405, allocations: 0.9923 MB / 0.5377 GB, free: 34.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.4053, allocations: 457.7 kB / 0.5381 GB, free: 33.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.4056, allocations: 239.9 kB / 0.5384 GB, free: 33.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.4056, allocations: 360.6 kB / 0.5387 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008755/0.4065, allocations: 0.6737 MB / 0.5394 GB, free: 33.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.4076, allocations: 1.113 MB / 0.5404 GB, free: 32.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/0.4095, allocations: 1.659 MB / 0.5421 GB, free: 31.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.4095, allocations: 5.906 kB / 0.5421 GB, free: 31.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003012/0.4125, allocations: 2.061 MB / 0.5441 GB, free: 31 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.4125, allocations: 6.125 kB / 0.5441 GB, free: 31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.4125, allocations: 9.219 kB / 0.5441 GB, free: 31 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005818/0.4131, allocations: 291.7 kB / 0.5444 GB, free: 30.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009327/0.414, allocations: 261.8 kB / 0.5446 GB, free: 30.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003885/0.4179, allocations: 3.952 MB / 0.5485 GB, free: 28.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.419, allocations: 85.42 kB / 0.5486 GB, free: 28.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/0.4191, allocations: 45.83 kB / 0.5486 GB, free: 28.38 MB / 430.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.001361/0.4205, allocations: 0.8555 MB / 0.5495 GB, free: 27.99 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.4207, allocations: 146.1 kB / 0.5496 GB, free: 27.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002603/0.421, allocations: 179.4 kB / 0.5498 GB, free: 27.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.421, allocations: 12.06 kB / 0.5498 GB, free: 27.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.608e-05/0.421, allocations: 5.719 kB / 0.5498 GB, free: 27.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.421, allocations: 6 kB / 0.5498 GB, free: 27.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006274/0.4273, allocations: 3.79 MB / 0.5535 GB, free: 26.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.4273, allocations: 1.469 kB / 0.5535 GB, free: 26.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009154/0.4282, allocations: 189.7 kB / 0.5537 GB, free: 26.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007374/0.4289, allocations: 274.1 kB / 0.5539 GB, free: 26.34 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001273/0.4291, allocations: 47.16 kB / 0.554 GB, free: 26.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004789/0.4339, allocations: 3.887 MB / 0.5578 GB, free: 23.86 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4339, allocations: 2.188 kB / 0.5578 GB, free: 23.86 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004496/0.4384, allocations: 2.843 MB / 0.5605 GB, free: 22.76 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009973/0.4394, allocations: 314.5 kB / 0.5608 GB, free: 22.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004386/0.4398, allocations: 44.64 kB / 0.5609 GB, free: 22.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/0.4407, allocations: 70.42 kB / 0.561 GB, free: 22.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000347/0.4411, allocations: 137 kB / 0.5611 GB, free: 22.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.871e-05/0.4412, allocations: 40.06 kB / 0.5611 GB, free: 22.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001678/0.4428, allocations: 0.8831 MB / 0.562 GB, free: 22.22 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4428, allocations: 4 kB / 0.562 GB, free: 22.22 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001944/0.4448, allocations: 439.6 kB / 0.5624 GB, free: 22.18 MB / 430.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.000252/0.445, allocations: 158.5 kB / 0.5626 GB, free: 22.06 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003341/0.4484, allocations: 1.8 MB / 0.5643 GB, free: 21.45 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.4484, allocations: 4.812 kB / 0.5643 GB, free: 21.45 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.4502, allocations: 1.041 MB / 0.5653 GB, free: 21.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.452, allocations: 303.5 kB / 0.5656 GB, free: 20.95 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00974/0.4618, allocations: 4.749 MB / 0.5703 GB, free: 18.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/0.4645, allocations: 1.468 MB / 0.5717 GB, free: 18.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001372/0.4659, allocations: 373.1 kB / 0.5721 GB, free: 18.31 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004721/0.4664, allocations: 91.83 kB / 0.5721 GB, free: 18.3 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4664, allocations: 4 kB / 0.5722 GB, free: 18.29 MB / 430.1 MB Notification: Performance of Templates: time 0.03384/0.5002, allocations: 21.88 MB / 0.5935 GB, free: 1.254 MB / 430.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 -s ida -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarPolygon.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.175891164923087] Failed to read output from testmodel.py, exit status != 0: 0.5098669190192595 0.526364559 0.167776582 Calling exit ...