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.007761/0.007761, allocations: 101 kB / 15.73 MB, free: 5.586 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.001082/0.001082, allocations: 189.3 kB / 16.67 MB, free: 5.523 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.379/1.379, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001337/0.001337, allocations: 55.92 kB / 326.6 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08716, allocations: 46.61 MB / 373.2 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1793/0.2665, allocations: 9.704 MB / 382.9 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004697/0.2712, allocations: 2.74 MB / 385.6 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006766/0.272, allocations: 58.81 kB / 385.7 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006748/0.2787, allocations: 3.762 MB / 389.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003247/0.282, allocations: 1.069 MB / 390.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.2839, allocations: 0.8096 MB / 391.3 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004403/0.2883, allocations: 3.919 MB / 395.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01228/0.3006, allocations: 9.566 MB / 404.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.3046, allocations: 2.207 MB / 407 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004343/0.3089, allocations: 2.551 MB / 409.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001327/0.3103, allocations: 0.6035 MB / 410.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.3134, allocations: 0.8198 MB / 411 MB, free: 9.922 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001324/0.3148, allocations: 1.199 MB / 412.2 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.3179, allocations: 2.424 MB / 414.6 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007017/0.3249, allocations: 8.129 MB / 422.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3249, allocations: 0 / 422.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.325, allocations: 3.938 kB / 422.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001219/0.3251, allocations: 0 / 422.7 MB, free: 14.23 MB / 350.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.01114/0.3362, allocations: 5.159 MB / 427.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3363, allocations: 12.03 kB / 427.9 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/0.3515, allocations: 2.567 MB / 430.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00499/0.3565, allocations: 2.159 MB / 432.6 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002933/0.3568, allocations: 337.1 kB / 433 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/0.3581, allocations: 447.8 kB / 433.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.3696, allocations: 6.107 MB / 439.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.684e-05/0.3698, allocations: 7.984 kB / 439.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004342/0.3702, allocations: 184 kB / 439.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002232/0.3704, allocations: 217.3 kB / 439.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009884/0.3803, allocations: 5.783 MB / 445.7 MB, free: 7.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02987/0.4102, allocations: 21.15 MB / 466.8 MB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008479/0.4187, allocations: 8.947 MB / 475.8 MB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.4204, allocations: 0.9766 MB / 476.8 MB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005332/0.4257, allocations: 3.553 MB / 480.3 MB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.4258, allocations: 30.8 kB / 480.3 MB, free: 2.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.164e-06/0.4258, allocations: 0 / 480.3 MB, free: 2.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.00108/0.4269, allocations: 0.6552 MB / 481 MB, free: 1.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.4269, allocations: 55.41 kB / 481 MB, free: 1.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.4296, allocations: 1.983 MB / 483 MB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.4297, allocations: 33.7 kB / 483.1 MB, free: 15.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.431, allocations: 2.184 MB / 485.2 MB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.4312, allocations: 146.5 kB / 485.4 MB, free: 12.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007295/0.4319, allocations: 0.5431 MB / 485.9 MB, free: 12.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.432, allocations: 349.9 kB / 486.3 MB, free: 12.02 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001256/0.4333, allocations: 0.8715 MB / 487.1 MB, free: 11.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002266/0.4356, allocations: 2.251 MB / 489.4 MB, free: 8.215 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.4388, allocations: 3.063 MB / 492.5 MB, free: 4.477 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.951e-05/0.4389, allocations: 16 kB / 492.5 MB, free: 4.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.005003/0.4439, allocations: 3.125 MB / 495.6 MB, free: 1.328 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.4439, allocations: 27.94 kB / 495.6 MB, free: 1.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.902e-05/0.444, allocations: 48 kB / 495.7 MB, free: 1.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-05/0.4441, allocations: 68 kB / 495.7 MB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/0.4459, allocations: 0.5856 MB / 496.3 MB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001001/0.446, allocations: 99.59 kB / 496.4 MB, free: 0.5039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.4485, allocations: 412.1 kB / 496.8 MB, free: 100 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002568/0.4487, allocations: 148 kB / 497 MB, free: 15.95 MB / 430.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.002674/0.4514, allocations: 1.558 MB / 498.5 MB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.4517, allocations: 134.2 kB / 498.7 MB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.4528, allocations: 0.6172 MB / 499.3 MB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004205/0.4532, allocations: 317.5 kB / 499.6 MB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.4532, allocations: 0 / 499.6 MB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4532, allocations: 0 / 499.6 MB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007156/0.4604, allocations: 3.968 MB / 0.4918 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.4604, allocations: 7.938 kB / 0.4918 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.4607, allocations: 59.91 kB / 0.4918 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.4607, allocations: 4.594 kB / 0.4918 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.4608, allocations: 19.98 kB / 0.4918 GB, free: 9.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.4608, allocations: 11.94 kB / 0.4919 GB, free: 9.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4608, allocations: 4 kB / 0.4919 GB, free: 9.051 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.462, allocations: 0.8811 MB / 0.4927 GB, free: 8.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005859/0.4626, allocations: 263.3 kB / 0.493 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003183/0.4629, allocations: 12 kB / 0.493 GB, free: 7.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007905/0.4637, allocations: 44 kB / 0.493 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.4638, allocations: 31.86 kB / 0.4931 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.4638, allocations: 12 kB / 0.4931 GB, free: 7.715 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002191/0.466, allocations: 1.343 MB / 0.4944 GB, free: 6.375 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.466, allocations: 0 / 0.4944 GB, free: 6.375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002872/0.4689, allocations: 0.9284 MB / 0.4953 GB, free: 5.441 MB / 430.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.0003125/0.4692, allocations: 167.1 kB / 0.4954 GB, free: 5.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.472, allocations: 1.666 MB / 0.4971 GB, free: 3.609 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.472, allocations: 0 / 0.4971 GB, free: 3.609 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.4723, allocations: 187.9 kB / 0.4972 GB, free: 3.426 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.474, allocations: 305.3 kB / 0.4975 GB, free: 3.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.4858, allocations: 5.91 MB / 0.5033 GB, free: 13.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003797/0.4896, allocations: 2.899 MB / 0.5061 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00208/0.4917, allocations: 0.7709 MB / 0.5069 GB, free: 9.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.4921, allocations: 103.4 kB / 0.507 GB, free: 9.312 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4921, allocations: 0 / 0.507 GB, free: 9.312 MB / 446.1 MB Notification: Performance of Templates: time 0.03607/0.5281, allocations: 17.7 MB / 0.5243 GB, free: 7.582 MB / 462.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)