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.008036/0.008036, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.398/1.398, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.001373/0.001373, allocations: 196.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03598/0.03598, allocations: 8.791 MB / 348.6 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 75.88 kB / 463.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.122, allocations: 51.56 MB / 0.5034 GB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.006524/0.1286, allocations: 4.033 MB / 0.5073 GB, free: 5.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002651/0.1313, allocations: 1.11 MB / 0.5084 GB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006949/0.132, allocations: 19.94 kB / 0.5084 GB, free: 4.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.1327, allocations: 166.7 kB / 0.5086 GB, free: 4.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.134, allocations: 270.4 kB / 0.5088 GB, free: 3.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.1346, allocations: 171.7 kB / 0.509 GB, free: 3.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002307/0.137, allocations: 1.592 MB / 0.5106 GB, free: 2.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002262/0.1392, allocations: 1.506 MB / 0.512 GB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001641/0.1409, allocations: 0.7438 MB / 0.5128 GB, free: 15.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.143, allocations: 0.8872 MB / 0.5136 GB, free: 14.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006726/0.1437, allocations: 192 kB / 0.5138 GB, free: 14.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008698/0.1446, allocations: 192 kB / 0.514 GB, free: 14.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008653/0.1455, allocations: 0.5259 MB / 0.5145 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002102/0.1476, allocations: 0.8556 MB / 0.5153 GB, free: 13.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.1505, allocations: 2.45 MB / 0.5177 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.1505, allocations: 4 kB / 0.5177 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1505, allocations: 3.938 kB / 0.5177 GB, free: 10.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.989e-05/0.1506, allocations: 0 / 0.5177 GB, free: 10.71 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.00358/0.1542, allocations: 1.88 MB / 0.5196 GB, free: 8.773 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.153e-05/0.1542, allocations: 8.031 kB / 0.5196 GB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004386/0.1547, allocations: 171 kB / 0.5197 GB, free: 8.598 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.1564, allocations: 1.013 MB / 0.5207 GB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/0.1565, allocations: 107.1 kB / 0.5208 GB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/0.1567, allocations: 148 kB / 0.521 GB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003031/0.1597, allocations: 1.928 MB / 0.5229 GB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.436e-05/0.1598, allocations: 4 kB / 0.5229 GB, free: 5.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.1599, allocations: 59.98 kB / 0.5229 GB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.061e-05/0.1599, allocations: 36 kB / 0.523 GB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.1624, allocations: 1.588 MB / 0.5245 GB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2623/0.4248, allocations: 4.785 MB / 0.5292 GB, free: 22.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.4263, allocations: 1.832 MB / 0.531 GB, free: 20.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.4273, allocations: 0.6596 MB / 0.5316 GB, free: 20.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.4274, allocations: 10.14 kB / 0.5316 GB, free: 20.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.4284, allocations: 0.6039 MB / 0.5322 GB, free: 20.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 3.497e-06/0.4284, allocations: 3.594 kB / 0.5322 GB, free: 20.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.005298/0.4337, allocations: 2.764 MB / 0.5349 GB, free: 20.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.4338, allocations: 149.8 kB / 0.5351 GB, free: 20.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.4349, allocations: 0.8027 MB / 0.5358 GB, free: 20.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.333e-05/0.435, allocations: 46.73 kB / 0.5359 GB, free: 20.06 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.4355, allocations: 0.6096 MB / 0.5365 GB, free: 19.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.4357, allocations: 262.6 kB / 0.5367 GB, free: 19.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002438/0.4359, allocations: 151.2 kB / 0.5369 GB, free: 19.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4361, allocations: 398 kB / 0.5373 GB, free: 19.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/0.4367, allocations: 407 kB / 0.5376 GB, free: 19.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007891/0.4375, allocations: 0.5934 MB / 0.5382 GB, free: 19.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.4389, allocations: 0.9889 MB / 0.5392 GB, free: 18.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.4389, allocations: 8.625 kB / 0.5392 GB, free: 18.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002012/0.441, allocations: 1.235 MB / 0.5404 GB, free: 18.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.441, allocations: 17.19 kB / 0.5404 GB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.441, allocations: 5.5 kB / 0.5404 GB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005241/0.4416, allocations: 168.9 kB / 0.5406 GB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/0.4422, allocations: 164 kB / 0.5407 GB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/0.4458, allocations: 2.991 MB / 0.5437 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/0.4464, allocations: 48.09 kB / 0.5437 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.753e-05/0.4464, allocations: 29.94 kB / 0.5437 GB, free: 17.27 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.001004/0.4474, allocations: 0.5555 MB / 0.5443 GB, free: 17.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.4476, allocations: 86.19 kB / 0.5444 GB, free: 17.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.4478, allocations: 109.5 kB / 0.5445 GB, free: 17.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.4478, allocations: 11.92 kB / 0.5445 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/0.4478, allocations: 3.562 kB / 0.5445 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.4479, allocations: 3.938 kB / 0.5445 GB, free: 17.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004836/0.4527, allocations: 2.64 MB / 0.5471 GB, free: 16.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4527, allocations: 1.938 kB / 0.5471 GB, free: 16.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.4532, allocations: 121 kB / 0.5472 GB, free: 16.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003835/0.4536, allocations: 160.7 kB / 0.5473 GB, free: 16.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/0.4537, allocations: 27.72 kB / 0.5474 GB, free: 16.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/0.4567, allocations: 2.938 MB / 0.5502 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4567, allocations: 5.156 kB / 0.5502 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002554/0.4593, allocations: 1.723 MB / 0.5519 GB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/0.4597, allocations: 257.8 kB / 0.5522 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.4598, allocations: 30.38 kB / 0.5522 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.4602, allocations: 44.67 kB / 0.5522 GB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.4604, allocations: 71.98 kB / 0.5523 GB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-05/0.4605, allocations: 24.31 kB / 0.5523 GB, free: 13.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009715/0.4615, allocations: 0.5663 MB / 0.5529 GB, free: 12.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.011e-06/0.4615, allocations: 1.062 kB / 0.5529 GB, free: 12.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001151/0.4626, allocations: 270.9 kB / 0.5531 GB, free: 12.81 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.0001894/0.4628, allocations: 128.8 kB / 0.5533 GB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001879/0.4647, allocations: 1.15 MB / 0.5544 GB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4647, allocations: 1.156 kB / 0.5544 GB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009863/0.4657, allocations: 0.6858 MB / 0.5551 GB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.4667, allocations: 218.5 kB / 0.5553 GB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004537/0.4712, allocations: 2.823 MB / 0.558 GB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008443/0.4721, allocations: 1.503 MB / 0.5595 GB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004892/0.4726, allocations: 231.5 kB / 0.5597 GB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.4727, allocations: 59.81 kB / 0.5598 GB, free: 8.961 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4727, allocations: 0 / 0.5598 GB, free: 8.961 MB / 366.1 MB Notification: Performance of Templates: time 0.02111/0.4939, allocations: 13.52 MB / 0.573 GB, free: 14 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)