Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007959/0.007959, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001641/0.001641, allocations: 202.7 kB / 16.68 MB, free: 5.965 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.431/1.431, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001288/0.001288, allocations: 54.64 kB / 326.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.08701, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01065/0.09769, allocations: 9.696 MB / 382.9 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005872/0.1036, allocations: 2.745 MB / 385.6 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001912/0.1056, allocations: 55.88 kB / 385.7 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008355/0.1139, allocations: 3.769 MB / 389.4 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004286/0.1182, allocations: 1.068 MB / 390.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.1206, allocations: 0.8064 MB / 391.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004601/0.1252, allocations: 3.906 MB / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.1377, allocations: 9.557 MB / 404.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.1408, allocations: 2.221 MB / 407 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003551/0.1443, allocations: 2.546 MB / 409.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009342/0.1453, allocations: 0.6055 MB / 410.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.1469, allocations: 0.8162 MB / 411 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009203/0.1479, allocations: 1.196 MB / 412.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002481/0.1504, allocations: 2.428 MB / 414.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006904/0.1573, allocations: 8.133 MB / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1573, allocations: 0 / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1573, allocations: 0 / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001576/0.1575, allocations: 4 kB / 422.7 MB, free: 15.52 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: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01233/0.1698, allocations: 5.163 MB / 427.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1699, allocations: 8.031 kB / 427.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.1844, allocations: 2.567 MB / 430.5 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004889/0.1894, allocations: 2.166 MB / 432.6 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000233/0.1896, allocations: 337.1 kB / 433 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007346/0.1904, allocations: 443.9 kB / 433.4 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0106/0.201, allocations: 6.103 MB / 439.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-05/0.2011, allocations: 0 / 439.5 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/0.2015, allocations: 184 kB / 439.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001897/0.2017, allocations: 217.3 kB / 439.9 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009339/0.2111, allocations: 5.779 MB / 445.7 MB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2288/0.4399, allocations: 21.15 MB / 466.8 MB, free: 56.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006996/0.4469, allocations: 8.942 MB / 475.8 MB, free: 48.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.4484, allocations: 0.9772 MB / 476.7 MB, free: 48.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005248/0.4536, allocations: 3.55 MB / 480.3 MB, free: 45.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.4537, allocations: 37.05 kB / 480.3 MB, free: 45.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/0.4537, allocations: 3.938 kB / 480.3 MB, free: 45.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009744/0.4547, allocations: 0.6411 MB / 481 MB, free: 44.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.4547, allocations: 55.25 kB / 481 MB, free: 44.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002093/0.4568, allocations: 1.986 MB / 483 MB, free: 43.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.4568, allocations: 33.64 kB / 483.1 MB, free: 43.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008494/0.4577, allocations: 2.18 MB / 485.2 MB, free: 41.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.4578, allocations: 146 kB / 485.4 MB, free: 41.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005959/0.4584, allocations: 0.5443 MB / 485.9 MB, free: 41.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.4585, allocations: 353.8 kB / 486.3 MB, free: 41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/0.4595, allocations: 0.8699 MB / 487.1 MB, free: 40.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.461, allocations: 2.253 MB / 489.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.4633, allocations: 3.072 MB / 492.5 MB, free: 35.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.4633, allocations: 12.03 kB / 492.5 MB, free: 35.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.003762/0.4671, allocations: 3.122 MB / 495.6 MB, free: 33.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.4671, allocations: 35.02 kB / 495.6 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.505e-05/0.4672, allocations: 47.06 kB / 495.7 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.854e-05/0.4672, allocations: 65.19 kB / 495.7 MB, free: 33.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.4688, allocations: 0.5872 MB / 496.3 MB, free: 33.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.9e-05/0.4689, allocations: 98.12 kB / 496.4 MB, free: 33.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.4706, allocations: 415.1 kB / 496.8 MB, free: 33.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.4708, allocations: 148.5 kB / 497 MB, free: 33.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (317): * Single equations (assignments): 316 * 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.002217/0.4731, allocations: 1.556 MB / 498.5 MB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.4732, allocations: 131.4 kB / 498.7 MB, free: 32.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008008/0.4741, allocations: 0.6138 MB / 499.3 MB, free: 31.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003363/0.4744, allocations: 318 kB / 499.6 MB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4744, allocations: 3.062 kB / 499.6 MB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4744, allocations: 0 / 499.6 MB, free: 31.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/0.4792, allocations: 3.977 MB / 0.4918 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4792, allocations: 4 kB / 0.4918 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.4795, allocations: 55.91 kB / 0.4918 GB, free: 27.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.553e-06/0.4795, allocations: 4 kB / 0.4918 GB, free: 27.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.4795, allocations: 15.66 kB / 0.4918 GB, free: 27.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/0.4795, allocations: 15.92 kB / 0.4918 GB, free: 27.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4795, allocations: 7.938 kB / 0.4919 GB, free: 27.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008166/0.4804, allocations: 0.8855 MB / 0.4927 GB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.4807, allocations: 251.4 kB / 0.493 GB, free: 26.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4808, allocations: 19.92 kB / 0.493 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/0.4814, allocations: 43.89 kB / 0.493 GB, free: 26.63 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.4814, allocations: 35.91 kB / 0.4931 GB, free: 26.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.4815, allocations: 16 kB / 0.4931 GB, free: 26.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001299/0.4828, allocations: 1.339 MB / 0.4944 GB, free: 25.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4828, allocations: 0 / 0.4944 GB, free: 25.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00214/0.4849, allocations: 0.9168 MB / 0.4953 GB, free: 24.33 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (26): * Single equations (assignments): 25 * 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.0002403/0.4852, allocations: 172.3 kB / 0.4954 GB, free: 24.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.4869, allocations: 1.667 MB / 0.4971 GB, free: 22.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.4869, allocations: 1.938 kB / 0.4971 GB, free: 22.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.4871, allocations: 186.7 kB / 0.4972 GB, free: 22.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.4886, allocations: 302.9 kB / 0.4975 GB, free: 22.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006988/0.4956, allocations: 5.898 MB / 0.5033 GB, free: 16.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001767/0.4973, allocations: 2.899 MB / 0.5061 GB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001355/0.4987, allocations: 0.7709 MB / 0.5069 GB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.4989, allocations: 103.4 kB / 0.507 GB, free: 12.27 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4989, allocations: 0 / 0.507 GB, free: 12.27 MB / 382.1 MB Notification: Performance of Templates: time 0.02779/0.5267, allocations: 17.49 MB / 0.5241 GB, free: 10.8 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1)