Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) 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.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") translateModel(HanserModelica.Electrical.StarDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.StarDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 109.3 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 240 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 188.5 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03414/0.03414, allocations: 8.796 MB / 349.3 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001695, allocations: 75.88 kB / 464.6 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1249, allocations: 51.56 MB / 0.5041 GB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.007046/0.132, allocations: 4.029 MB / 0.508 GB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003011/0.1351, allocations: 1.106 MB / 0.5091 GB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008068/0.1359, allocations: 23.88 kB / 0.5091 GB, free: 4.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006562/0.1366, allocations: 162.7 kB / 0.5092 GB, free: 4.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00184/0.1385, allocations: 278.4 kB / 0.5095 GB, free: 3.875 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.1393, allocations: 171.7 kB / 0.5097 GB, free: 3.707 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002316/0.1417, allocations: 1.588 MB / 0.5112 GB, free: 2.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.1438, allocations: 1.502 MB / 0.5127 GB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.1451, allocations: 0.7594 MB / 0.5134 GB, free: 15.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001603/0.1467, allocations: 0.8794 MB / 0.5143 GB, free: 14.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.1471, allocations: 188 kB / 0.5145 GB, free: 14.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.1475, allocations: 200 kB / 0.5147 GB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005555/0.1481, allocations: 0.5143 MB / 0.5152 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.1494, allocations: 0.8711 MB / 0.516 GB, free: 13.15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.1519, allocations: 2.446 MB / 0.5184 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1519, allocations: 0 / 0.5184 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1519, allocations: 0 / 0.5184 GB, free: 10.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.168e-05/0.152, allocations: 0 / 0.5184 GB, free: 10.7 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: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003795/0.1558, allocations: 1.884 MB / 0.5202 GB, free: 8.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1558, allocations: 8.031 kB / 0.5203 GB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.1562, allocations: 171 kB / 0.5204 GB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.1582, allocations: 1.017 MB / 0.5214 GB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.554e-05/0.1583, allocations: 103.1 kB / 0.5215 GB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.1585, allocations: 148 kB / 0.5216 GB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003169/0.1617, allocations: 1.932 MB / 0.5235 GB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/0.1617, allocations: 0 / 0.5235 GB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.1619, allocations: 59.98 kB / 0.5236 GB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/0.1619, allocations: 39.94 kB / 0.5236 GB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/0.1648, allocations: 1.592 MB / 0.5252 GB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.234/0.3987, allocations: 4.774 MB / 0.5298 GB, free: 22.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/0.4001, allocations: 1.836 MB / 0.5316 GB, free: 20.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000962/0.4011, allocations: 0.6604 MB / 0.5323 GB, free: 20.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.4011, allocations: 11.38 kB / 0.5323 GB, free: 20.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008544/0.402, allocations: 0.6068 MB / 0.5329 GB, free: 20.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 2.795e-06/0.402, allocations: 0 / 0.5329 GB, free: 20.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.004481/0.4065, allocations: 2.768 MB / 0.5356 GB, free: 20.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.4066, allocations: 145.5 kB / 0.5357 GB, free: 20.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.4076, allocations: 0.8053 MB / 0.5365 GB, free: 20.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/0.4077, allocations: 41.78 kB / 0.5366 GB, free: 20.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.4082, allocations: 0.6103 MB / 0.5372 GB, free: 19.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.4084, allocations: 265.9 kB / 0.5374 GB, free: 19.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.4086, allocations: 151.7 kB / 0.5375 GB, free: 19.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4088, allocations: 396 kB / 0.5379 GB, free: 19.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.4094, allocations: 410.7 kB / 0.5383 GB, free: 19.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.4101, allocations: 0.5921 MB / 0.5389 GB, free: 19.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.4115, allocations: 0.9923 MB / 0.5399 GB, free: 18.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.4115, allocations: 5.094 kB / 0.5399 GB, free: 18.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001958/0.4134, allocations: 1.238 MB / 0.5411 GB, free: 18.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.4135, allocations: 10.81 kB / 0.5411 GB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.4135, allocations: 6.203 kB / 0.5411 GB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000399/0.4139, allocations: 170.4 kB / 0.5413 GB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.4146, allocations: 161.9 kB / 0.5414 GB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.4173, allocations: 2.987 MB / 0.5443 GB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.4179, allocations: 47.77 kB / 0.5444 GB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.4179, allocations: 31.56 kB / 0.5444 GB, free: 17.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,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[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 (86): * Single equations (assignments): 85 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008446/0.4188, allocations: 0.5524 MB / 0.5449 GB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.4189, allocations: 90.53 kB / 0.545 GB, free: 17.06 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.4191, allocations: 106.6 kB / 0.5451 GB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.4191, allocations: 11.5 kB / 0.5451 GB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/0.4192, allocations: 3.125 kB / 0.5451 GB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.4192, allocations: 5.906 kB / 0.5452 GB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00425/0.4234, allocations: 2.645 MB / 0.5477 GB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.4235, allocations: 6.281 kB / 0.5477 GB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/0.424, allocations: 111.6 kB / 0.5478 GB, free: 16.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/0.4243, allocations: 166.2 kB / 0.548 GB, free: 16.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.4244, allocations: 26.56 kB / 0.548 GB, free: 16.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/0.4272, allocations: 2.936 MB / 0.5509 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4272, allocations: 1.312 kB / 0.5509 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.4297, allocations: 1.728 MB / 0.5526 GB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000437/0.4302, allocations: 261 kB / 0.5528 GB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.4303, allocations: 26.98 kB / 0.5529 GB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004003/0.4307, allocations: 48.42 kB / 0.5529 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/0.4309, allocations: 67.55 kB / 0.553 GB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.4309, allocations: 27.58 kB / 0.553 GB, free: 13.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007025/0.4316, allocations: 0.5664 MB / 0.5536 GB, free: 12.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4316, allocations: 1.219 kB / 0.5536 GB, free: 12.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001245/0.4329, allocations: 267.6 kB / 0.5538 GB, free: 12.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001631/0.4331, allocations: 137.8 kB / 0.5539 GB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001799/0.4349, allocations: 1.143 MB / 0.5551 GB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4349, allocations: 1.188 kB / 0.5551 GB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009778/0.4359, allocations: 0.7119 MB / 0.5558 GB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009388/0.4368, allocations: 225.6 kB / 0.556 GB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004244/0.4411, allocations: 2.814 MB / 0.5587 GB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/0.4418, allocations: 1.48 MB / 0.5602 GB, free: 9.086 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.442, allocations: 64.45 kB / 0.5602 GB, free: 9.07 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.442, allocations: 0 / 0.5602 GB, free: 9.07 MB / 366.1 MB Notification: Performance of Templates: time 0.02454/0.4666, allocations: 22.96 MB / 0.5826 GB, free: 4.691 MB / 382.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.StarDelta.makefile (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & ./HanserModelica_HanserModelica.Electrical.StarDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1)