Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.008073/0.008073, allocations: 100 kB / 15.73 MB, free: 6.035 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.00197/0.00197, allocations: 196.4 kB / 16.67 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.514/1.514, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.00117/0.00117, allocations: 49.31 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08575/0.08693, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009449/0.09642, allocations: 9.712 MB / 382.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.1018, allocations: 2.741 MB / 385.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.1031, allocations: 55.88 kB / 385.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007807/0.1109, allocations: 3.773 MB / 389.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.1145, allocations: 1.08 MB / 390.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.1167, allocations: 0.8023 MB / 391.3 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005612/0.1223, allocations: 3.906 MB / 395.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01606/0.1384, allocations: 9.557 MB / 404.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005617/0.1441, allocations: 2.217 MB / 407 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005107/0.1492, allocations: 2.546 MB / 409.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001699/0.151, allocations: 0.6055 MB / 410.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.1538, allocations: 0.8201 MB / 411 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00198/0.1558, allocations: 1.192 MB / 412.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004148/0.16, allocations: 2.428 MB / 414.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009272/0.1693, allocations: 8.133 MB / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1693, allocations: 4 kB / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1693, allocations: 0 / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001821/0.1695, allocations: 0 / 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.01317/0.1827, allocations: 5.167 MB / 427.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.1828, allocations: 8.031 kB / 427.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01545/0.1982, allocations: 2.575 MB / 430.5 MB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004613/0.2029, allocations: 2.155 MB / 432.6 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003545/0.2032, allocations: 337.1 kB / 433 MB, free: 5.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001547/0.2048, allocations: 447.8 kB / 433.4 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01404/0.2189, allocations: 6.114 MB / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.219, allocations: 0 / 439.5 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007098/0.2197, allocations: 184 kB / 439.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002245/0.22, allocations: 213.3 kB / 439.9 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.231, allocations: 5.779 MB / 445.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.229/0.4601, allocations: 21.16 MB / 466.8 MB, free: 56.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006317/0.4665, allocations: 8.945 MB / 475.8 MB, free: 48.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001314/0.4678, allocations: 0.9733 MB / 476.8 MB, free: 48.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004501/0.4723, allocations: 3.548 MB / 480.3 MB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.4724, allocations: 41.23 kB / 480.4 MB, free: 45.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.4724, allocations: 2.781 kB / 480.4 MB, free: 45.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009463/0.4733, allocations: 0.6411 MB / 481 MB, free: 44.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.4734, allocations: 55.31 kB / 481.1 MB, free: 44.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.4754, allocations: 1.991 MB / 483 MB, free: 43.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4754, allocations: 29.7 kB / 483.1 MB, free: 43.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007305/0.4762, allocations: 2.18 MB / 485.3 MB, free: 41.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.946e-05/0.4763, allocations: 145.7 kB / 485.4 MB, free: 41.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005793/0.4769, allocations: 0.5444 MB / 485.9 MB, free: 41.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.266e-05/0.4769, allocations: 349.8 kB / 486.3 MB, free: 41.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.4779, allocations: 0.8764 MB / 487.2 MB, free: 40.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.4793, allocations: 2.25 MB / 489.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/0.4814, allocations: 3.067 MB / 492.5 MB, free: 35.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/0.4814, allocations: 15.84 kB / 492.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.003569/0.485, allocations: 3.123 MB / 495.6 MB, free: 33.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.4851, allocations: 28.81 kB / 495.6 MB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.267e-05/0.4851, allocations: 50.72 kB / 495.7 MB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.354e-05/0.4852, allocations: 65.38 kB / 495.8 MB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.4867, allocations: 0.5938 MB / 496.3 MB, free: 33.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.413e-05/0.4868, allocations: 100 kB / 496.4 MB, free: 33.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.4885, allocations: 410.7 kB / 496.8 MB, free: 33.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.4886, allocations: 147.6 kB / 497 MB, free: 33.31 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.001773/0.4904, allocations: 1.555 MB / 498.5 MB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.4906, allocations: 134.8 kB / 498.7 MB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000777/0.4914, allocations: 0.6041 MB / 499.3 MB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00033/0.4917, allocations: 323.6 kB / 499.6 MB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4917, allocations: 0 / 499.6 MB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4917, allocations: 7.719 kB / 499.6 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004566/0.4963, allocations: 3.966 MB / 0.4918 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.4963, allocations: 4.594 kB / 0.4918 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.4966, allocations: 59.89 kB / 0.4918 GB, free: 28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.4966, allocations: 8 kB / 0.4918 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.4966, allocations: 12 kB / 0.4918 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.4966, allocations: 15.94 kB / 0.4919 GB, free: 27.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.4966, allocations: 7.938 kB / 0.4919 GB, free: 27.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008168/0.4975, allocations: 0.885 MB / 0.4927 GB, free: 26.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.4978, allocations: 251.4 kB / 0.493 GB, free: 26.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.4979, allocations: 15.94 kB / 0.493 GB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.4984, allocations: 51.94 kB / 0.493 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.4985, allocations: 31.84 kB / 0.4931 GB, free: 26.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.4985, allocations: 16 kB / 0.4931 GB, free: 26.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001389/0.4999, allocations: 1.335 MB / 0.4944 GB, free: 25.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4999, allocations: 4 kB / 0.4944 GB, free: 25.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002542/0.5025, allocations: 0.9193 MB / 0.4953 GB, free: 24.36 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.0002652/0.5027, allocations: 169.6 kB / 0.4955 GB, free: 24.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001968/0.5047, allocations: 1.672 MB / 0.4971 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5047, allocations: 6.203 kB / 0.4971 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.5049, allocations: 175.7 kB / 0.4973 GB, free: 22.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.5062, allocations: 303.9 kB / 0.4975 GB, free: 22.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008203/0.5144, allocations: 5.899 MB / 0.5033 GB, free: 16.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/0.5163, allocations: 2.889 MB / 0.5061 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001573/0.5179, allocations: 0.7766 MB / 0.5069 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/0.5181, allocations: 103.4 kB / 0.507 GB, free: 12.31 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5181, allocations: 0 / 0.507 GB, free: 12.31 MB / 382.1 MB Notification: Performance of Templates: time 0.03026/0.5484, allocations: 17.72 MB / 0.5243 GB, free: 10.58 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1)