Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.002039/0.002038, allocations: 108.1 kB / 16.92 MB, free: 5.793 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.002773/0.002774, allocations: 187.3 kB / 17.85 MB, free: 5.191 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.407/1.407, allocations: 205.1 MB / 223.7 MB, free: 12.31 MB / 190.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.00126/0.00126, allocations: 51.92 kB / 280 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/0.09236, allocations: 46.63 MB / 326.6 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.01208/0.1045, allocations: 10.09 MB / 336.7 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005526/0.1101, allocations: 2.8 MB / 339.5 MB, free: 7.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008602/0.111, allocations: 63.81 kB / 339.6 MB, free: 7.457 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008445/0.1195, allocations: 4.205 MB / 343.8 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003557/0.123, allocations: 1.041 MB / 344.8 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002133/0.1252, allocations: 0.8336 MB / 345.7 MB, free: 1.352 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004737/0.1299, allocations: 4.253 MB / 349.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01567/0.1456, allocations: 11.03 MB / 360.9 MB, free: 1.93 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003767/0.1494, allocations: 2.459 MB / 363.4 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004522/0.154, allocations: 2.788 MB / 366.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002078/0.1561, allocations: 0.6758 MB / 366.9 MB, free: 11.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/0.1592, allocations: 0.8865 MB / 367.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002/0.1612, allocations: 1.321 MB / 369.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004669/0.1659, allocations: 2.673 MB / 371.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1865/0.3524, allocations: 9.013 MB / 380.8 MB, free: 29.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.3524, allocations: 3.719 kB / 380.8 MB, free: 29.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3525, allocations: 0 / 380.8 MB, free: 29.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002476/0.3527, allocations: 2.078 kB / 380.8 MB, free: 29.84 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.01292/0.3656, allocations: 5.572 MB / 386.3 MB, free: 28.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3657, allocations: 11.25 kB / 386.3 MB, free: 28.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.3796, allocations: 2.388 MB / 388.7 MB, free: 28.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/0.3842, allocations: 2.375 MB / 391.1 MB, free: 27.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.3845, allocations: 363.1 kB / 391.5 MB, free: 27.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.3856, allocations: 481.8 kB / 391.9 MB, free: 27.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.3975, allocations: 6.645 MB / 398.6 MB, free: 24.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.705e-05/0.3976, allocations: 11.66 kB / 398.6 MB, free: 24.72 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004414/0.398, allocations: 195 kB / 398.8 MB, free: 24.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001632/0.3982, allocations: 226.9 kB / 399 MB, free: 24.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008318/0.4065, allocations: 6.119 MB / 405.1 MB, free: 21.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02254/0.4291, allocations: 22.63 MB / 427.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009791/0.4389, allocations: 10.78 MB / 438.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.44, allocations: 0.8242 MB / 439.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004548/0.4446, allocations: 3.39 MB / 442.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.4446, allocations: 30.56 kB / 442.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.684e-06/0.4446, allocations: 0 / 442.8 MB, free: 14.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004297/0.4451, allocations: 238.7 kB / 443 MB, free: 13.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.4451, allocations: 55.41 kB / 443.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/0.4481, allocations: 2.137 MB / 445.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.4481, allocations: 29.7 kB / 445.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/0.4496, allocations: 2.378 MB / 447.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4497, allocations: 75.59 kB / 447.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007608/0.4505, allocations: 0.5466 MB / 448.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4506, allocations: 353.9 kB / 448.6 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.4518, allocations: 0.8127 MB / 449.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.4539, allocations: 2.238 MB / 451.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/0.4571, allocations: 2.969 MB / 454.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.276e-05/0.4571, allocations: 16 kB / 454.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=308) (initialization): time 0.004919/0.4621, allocations: 3.013 MB / 457.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.4621, allocations: 27.75 kB / 457.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.316e-05/0.4622, allocations: 52 kB / 457.7 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.104e-05/0.4623, allocations: 68.72 kB / 457.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.464, allocations: 0.5624 MB / 458.3 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001016/0.4641, allocations: 102.1 kB / 458.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/0.4661, allocations: 408.2 kB / 458.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/0.4663, allocations: 144 kB / 459 MB, free: 13.15 MB / 366.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 (307): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002519/0.4688, allocations: 1.727 MB / 460.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.4691, allocations: 130.3 kB / 460.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000421/0.4695, allocations: 255 kB / 461.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001186/0.4696, allocations: 91.69 kB / 461.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4696, allocations: 0 / 461.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.4697, allocations: 3.938 kB / 461.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/0.4743, allocations: 3.052 MB / 464.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4743, allocations: 0 / 464.2 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.4744, allocations: 12.03 kB / 464.2 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/0.4744, allocations: 3.938 kB / 464.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4744, allocations: 4 kB / 464.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4744, allocations: 0 / 464.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.4744, allocations: 0 / 464.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.4748, allocations: 372.3 kB / 464.6 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/0.4752, allocations: 219.5 kB / 464.8 MB, free: 7.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.4753, allocations: 8 kB / 464.8 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.4758, allocations: 27.95 kB / 464.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.353e-05/0.4758, allocations: 4 kB / 464.9 MB, free: 7.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.4758, allocations: 7.984 kB / 464.9 MB, free: 7.199 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001703/0.4775, allocations: 1.396 MB / 466.3 MB, free: 5.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4775, allocations: 0 / 466.3 MB, free: 5.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002987/0.4805, allocations: 0.9863 MB / 467.2 MB, free: 4.816 MB / 366.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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002859/0.4808, allocations: 150.3 kB / 467.4 MB, free: 4.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001986/0.4828, allocations: 1.47 MB / 468.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4828, allocations: 0 / 468.9 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/0.4829, allocations: 35.45 kB / 468.9 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.4844, allocations: 335.1 kB / 469.2 MB, free: 2.984 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.4946, allocations: 6.172 MB / 475.4 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003263/0.4978, allocations: 3.127 MB / 478.5 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002003/0.4999, allocations: 0.7983 MB / 479.3 MB, free: 8.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.5001, allocations: 99.42 kB / 479.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5001, allocations: 0 / 479.4 MB, free: 8.754 MB / 382.1 MB Notification: Performance of Templates: time 0.03492/0.535, allocations: 17.24 MB / 496.7 MB, free: 7.598 MB / 398.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)