Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001713, allocations: 190.6 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 47.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.205, allocations: 46.62 MB / 324.9 MB, free: 1.91 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009996/0.215, allocations: 9.947 MB / 334.8 MB, free: 10 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.2196, allocations: 2.779 MB / 337.6 MB, free: 7.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000553/0.2202, allocations: 63.81 kB / 337.6 MB, free: 7.277 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007749/0.228, allocations: 3.993 MB / 341.6 MB, free: 3.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.2302, allocations: 0.9293 MB / 342.6 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.2318, allocations: 0.7677 MB / 343.3 MB, free: 1.566 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004014/0.2359, allocations: 4.249 MB / 347.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01334/0.2492, allocations: 12.76 MB / 360.3 MB, free: 436 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.252, allocations: 2.489 MB / 362.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003096/0.2552, allocations: 2.803 MB / 365.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000862/0.256, allocations: 0.6797 MB / 366.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.2577, allocations: 0.8904 MB / 367.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.2587, allocations: 1.321 MB / 368.5 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00229/0.261, allocations: 2.677 MB / 371.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007112/0.2682, allocations: 9.033 MB / 380.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2682, allocations: 0 / 380.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2682, allocations: 0 / 380.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001416/0.2683, allocations: 0 / 380.2 MB, free: 12.47 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01145/0.2798, allocations: 5.597 MB / 385.8 MB, free: 6.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.2799, allocations: 12.03 kB / 385.8 MB, free: 6.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/0.2929, allocations: 2.391 MB / 388.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.296, allocations: 2.369 MB / 390.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.2963, allocations: 365.8 kB / 391 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006244/0.2969, allocations: 476 kB / 391.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.307, allocations: 6.659 MB / 398.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.994e-05/0.3071, allocations: 4 kB / 398.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004348/0.3076, allocations: 196 kB / 398.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001865/0.3077, allocations: 238 kB / 398.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008657/0.3164, allocations: 6.133 MB / 404.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0268/0.3432, allocations: 22.63 MB / 427.3 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009934/0.3532, allocations: 10.84 MB / 438.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.3544, allocations: 0.8578 MB / 439 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005139/0.3596, allocations: 3.503 MB / 442.5 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.3596, allocations: 38.56 kB / 442.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 2.004e-06/0.3596, allocations: 4 kB / 442.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005727/0.3602, allocations: 335.8 kB / 442.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3603, allocations: 51.41 kB / 442.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002553/0.3628, allocations: 2.145 MB / 445 MB, free: 8.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.3628, allocations: 25.7 kB / 445.1 MB, free: 8.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001277/0.3641, allocations: 2.374 MB / 447.4 MB, free: 6.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3643, allocations: 95.33 kB / 447.5 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006564/0.3649, allocations: 0.5507 MB / 448.1 MB, free: 5.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3651, allocations: 357.9 kB / 448.4 MB, free: 5.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.3665, allocations: 0.8518 MB / 449.3 MB, free: 4.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002355/0.3688, allocations: 2.267 MB / 451.6 MB, free: 1.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1627/0.5315, allocations: 3.039 MB / 454.6 MB, free: 106 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.413e-05/0.5316, allocations: 14.28 kB / 454.6 MB, free: 106 MB / 382.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.004049/0.5356, allocations: 3.092 MB / 457.7 MB, free: 105 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.5357, allocations: 26.84 kB / 457.7 MB, free: 105 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.375e-05/0.5358, allocations: 53.75 kB / 457.8 MB, free: 105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-05/0.5358, allocations: 72.16 kB / 457.9 MB, free: 105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.5374, allocations: 0.5645 MB / 458.4 MB, free: 105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-05/0.5374, allocations: 101.4 kB / 458.5 MB, free: 104.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.5391, allocations: 402 kB / 458.9 MB, free: 104.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/0.5393, allocations: 151.4 kB / 459.1 MB, free: 104.8 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001773/0.541, allocations: 1.731 MB / 460.8 MB, free: 104 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.5412, allocations: 139 kB / 460.9 MB, free: 104 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003787/0.5416, allocations: 306.6 kB / 461.2 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001418/0.5417, allocations: 164.5 kB / 461.4 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5417, allocations: 0 / 461.4 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5418, allocations: 7.203 kB / 461.4 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003093/0.5449, allocations: 3.148 MB / 464.5 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5449, allocations: 2.734 kB / 464.5 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.635e-05/0.5449, allocations: 11.16 kB / 464.6 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.545, allocations: 3.938 kB / 464.6 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.545, allocations: 11.66 kB / 464.6 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.545, allocations: 3.797 kB / 464.6 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.545, allocations: 0 / 464.6 MB, free: 102.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.5454, allocations: 490.5 kB / 465 MB, free: 102.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.5456, allocations: 225.1 kB / 465.3 MB, free: 102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.5457, allocations: 7.812 kB / 465.3 MB, free: 102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.5461, allocations: 35.8 kB / 465.3 MB, free: 102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.5462, allocations: 7.656 kB / 465.3 MB, free: 102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.5462, allocations: 5.188 kB / 465.3 MB, free: 102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001201/0.5474, allocations: 1.397 MB / 466.7 MB, free: 101.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5474, allocations: 7.719 kB / 466.7 MB, free: 101.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001773/0.5492, allocations: 0.9855 MB / 467.7 MB, free: 101.2 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.5494, allocations: 146.5 kB / 467.9 MB, free: 101.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.5508, allocations: 1.55 MB / 469.4 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5508, allocations: 0 / 469.4 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.285e-05/0.5509, allocations: 81.25 kB / 469.5 MB, free: 100.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.5523, allocations: 336.2 kB / 469.8 MB, free: 100.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008394/0.5607, allocations: 8.081 MB / 477.9 MB, free: 93.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001905/0.5627, allocations: 3.133 MB / 481 MB, free: 90.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001685/0.5644, allocations: 0.7906 MB / 481.8 MB, free: 89.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.5645, allocations: 103.4 kB / 481.9 MB, free: 89.69 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5645, allocations: 0 / 481.9 MB, free: 89.69 MB / 382.1 MB Notification: Performance of Templates: time 0.02631/0.5908, allocations: 17.82 MB / 499.7 MB, free: 71.91 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)