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.001639/0.001639, allocations: 112.1 kB / 16.42 MB, free: 6.445 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.356/1.356, allocations: 222.9 MB / 240.1 MB, free: 4.578 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.001287/0.001287, allocations: 192.5 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03667/0.03667, allocations: 8.797 MB / 349.3 MB, free: 4.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 79.88 kB / 464.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0788/0.0803, allocations: 51.55 MB / 0.5041 GB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.004838/0.08517, allocations: 4.04 MB / 0.508 GB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.08685, allocations: 1.098 MB / 0.5091 GB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.08707, allocations: 27.88 kB / 0.5091 GB, free: 4.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.08739, allocations: 162.7 kB / 0.5093 GB, free: 4.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006761/0.08807, allocations: 278.5 kB / 0.5095 GB, free: 3.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.0884, allocations: 171.7 kB / 0.5097 GB, free: 3.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.08978, allocations: 1.584 MB / 0.5112 GB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.09129, allocations: 1.502 MB / 0.5127 GB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006792/0.09198, allocations: 0.7516 MB / 0.5134 GB, free: 15.86 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00099/0.09298, allocations: 0.8833 MB / 0.5143 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002436/0.09323, allocations: 188 kB / 0.5145 GB, free: 14.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.09357, allocations: 196 kB / 0.5147 GB, free: 14.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004118/0.09399, allocations: 0.522 MB / 0.5152 GB, free: 14.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007501/0.09475, allocations: 0.8633 MB / 0.516 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.09666, allocations: 2.45 MB / 0.5184 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.09667, allocations: 4 kB / 0.5184 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.09668, allocations: 0 / 0.5184 GB, free: 10.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.0967, allocations: 0 / 0.5184 GB, free: 10.75 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.003023/0.09973, allocations: 1.88 MB / 0.5202 GB, free: 8.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.09978, allocations: 8.031 kB / 0.5202 GB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.1001, allocations: 171 kB / 0.5204 GB, free: 8.641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.1015, allocations: 1.013 MB / 0.5214 GB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/0.1016, allocations: 107.1 kB / 0.5215 GB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002083/0.1018, allocations: 148 kB / 0.5216 GB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.1047, allocations: 1.924 MB / 0.5235 GB, free: 5.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.1048, allocations: 8 kB / 0.5235 GB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.1049, allocations: 56 kB / 0.5236 GB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.105, allocations: 32 kB / 0.5236 GB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.1075, allocations: 1.595 MB / 0.5252 GB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1764/0.2839, allocations: 4.789 MB / 0.5299 GB, free: 22.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/0.2852, allocations: 1.831 MB / 0.5316 GB, free: 21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/0.2863, allocations: 0.6614 MB / 0.5323 GB, free: 20.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.996e-05/0.2864, allocations: 9.297 kB / 0.5323 GB, free: 20.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008887/0.2873, allocations: 0.606 MB / 0.5329 GB, free: 20.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 2.665e-06/0.2873, allocations: 0 / 0.5329 GB, free: 20.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.004286/0.2916, allocations: 2.773 MB / 0.5356 GB, free: 20.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.2916, allocations: 141.2 kB / 0.5357 GB, free: 20.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.2926, allocations: 0.8062 MB / 0.5365 GB, free: 20.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.2926, allocations: 45.38 kB / 0.5366 GB, free: 20.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003298/0.293, allocations: 0.6079 MB / 0.5372 GB, free: 19.86 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.2931, allocations: 264.8 kB / 0.5374 GB, free: 19.69 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.2934, allocations: 150 kB / 0.5375 GB, free: 19.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2935, allocations: 395.4 kB / 0.5379 GB, free: 19.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/0.2941, allocations: 411.3 kB / 0.5383 GB, free: 19.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006908/0.2948, allocations: 0.5947 MB / 0.5389 GB, free: 19.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0013/0.2961, allocations: 0.9892 MB / 0.5399 GB, free: 19.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2961, allocations: 1.719 kB / 0.5399 GB, free: 19.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001832/0.298, allocations: 1.241 MB / 0.5411 GB, free: 18.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.298, allocations: 7.031 kB / 0.5411 GB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.298, allocations: 8.5 kB / 0.5411 GB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/0.2984, allocations: 175.2 kB / 0.5413 GB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.2991, allocations: 160.7 kB / 0.5414 GB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.3018, allocations: 2.989 MB / 0.5443 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.3023, allocations: 48.31 kB / 0.5444 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.3024, allocations: 31.97 kB / 0.5444 GB, free: 17.36 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.0006369/0.303, allocations: 0.5501 MB / 0.5449 GB, free: 17.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.3031, allocations: 89.48 kB / 0.545 GB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002135/0.3033, allocations: 108.9 kB / 0.5451 GB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.3033, allocations: 5.203 kB / 0.5451 GB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3034, allocations: 4.453 kB / 0.5451 GB, free: 17.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.3037, allocations: 250.3 kB / 0.5454 GB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.3038, allocations: 31.91 kB / 0.5454 GB, free: 17.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.3042, allocations: 42.39 kB / 0.5455 GB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.3044, allocations: 77.59 kB / 0.5455 GB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00237/0.3068, allocations: 1.292 MB / 0.5468 GB, free: 16.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002289/0.3091, allocations: 1.755 MB / 0.5485 GB, free: 16.02 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006591/0.3097, allocations: 489.3 kB / 0.549 GB, free: 15.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006427/0.3104, allocations: 0.568 MB / 0.5495 GB, free: 15.64 MB / 366.1 MB Notification: Performance of Backend: time 3.5e-07/0.3104, allocations: 0 / 0.5495 GB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.312, allocations: 0.8819 MB / 0.5504 GB, free: 15.21 MB / 366.1 MB Notification: Performance of SimCode: time 0.00358/0.3156, allocations: 3.101 MB / 0.5534 GB, free: 13.5 MB / 366.1 MB Notification: Performance of Templates: time 0.0185/0.3341, allocations: 14.37 MB / 0.5674 GB, free: 4.68 MB / 366.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)