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.006037/0.006037, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.001254/0.001254, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.366/1.366, 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.001149/0.001149, allocations: 63.91 kB / 326.6 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08757/0.08873, allocations: 46.61 MB / 373.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1876/0.2764, allocations: 9.701 MB / 382.9 MB, free: 8.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005536/0.2819, allocations: 2.742 MB / 385.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.2838, allocations: 58.34 kB / 385.7 MB, free: 6.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007645/0.2914, allocations: 3.77 MB / 389.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.297, allocations: 1.074 MB / 390.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002923/0.3, allocations: 0.8124 MB / 391.3 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005462/0.3055, allocations: 3.919 MB / 395.2 MB, free: 1.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01248/0.318, allocations: 9.566 MB / 404.8 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.3215, allocations: 2.21 MB / 407 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003229/0.3247, allocations: 2.554 MB / 409.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009006/0.3256, allocations: 0.6041 MB / 410.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.3273, allocations: 0.8161 MB / 411 MB, free: 9.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.3284, allocations: 1.195 MB / 412.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002812/0.3312, allocations: 2.428 MB / 414.6 MB, free: 6.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00808/0.3393, allocations: 8.129 MB / 422.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.3393, allocations: 0 / 422.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3393, allocations: 3.938 kB / 422.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001478/0.3395, allocations: 0 / 422.7 MB, free: 14.03 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.01266/0.3522, allocations: 5.159 MB / 427.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/0.3523, allocations: 12.03 kB / 427.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.3678, allocations: 2.575 MB / 430.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004011/0.3718, allocations: 2.151 MB / 432.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.3721, allocations: 341 kB / 433 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008124/0.3729, allocations: 443.9 kB / 433.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.3837, allocations: 6.11 MB / 439.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-05/0.3839, allocations: 4 kB / 439.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004359/0.3843, allocations: 184 kB / 439.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/0.3845, allocations: 213.3 kB / 439.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009768/0.3943, allocations: 5.783 MB / 445.7 MB, free: 6.891 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0291/0.4234, allocations: 21.16 MB / 466.9 MB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008482/0.4319, allocations: 8.936 MB / 475.8 MB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/0.4335, allocations: 0.9727 MB / 476.8 MB, free: 5.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005225/0.4387, allocations: 3.557 MB / 480.3 MB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4388, allocations: 38.8 kB / 480.4 MB, free: 1.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/0.4388, allocations: 3.938 kB / 480.4 MB, free: 1.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001151/0.44, allocations: 0.6436 MB / 481 MB, free: 1.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.44, allocations: 59.41 kB / 481.1 MB, free: 1.105 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/0.4429, allocations: 1.99 MB / 483.1 MB, free: 15.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.443, allocations: 33.64 kB / 483.1 MB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001285/0.4443, allocations: 2.181 MB / 485.3 MB, free: 12.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/0.4444, allocations: 146.5 kB / 485.4 MB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007334/0.4452, allocations: 0.5431 MB / 486 MB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4453, allocations: 345.9 kB / 486.3 MB, free: 11.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.4465, allocations: 0.8754 MB / 487.2 MB, free: 10.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002064/0.4486, allocations: 2.251 MB / 489.4 MB, free: 8.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.4515, allocations: 3.063 MB / 492.5 MB, free: 4.266 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.978e-05/0.4516, allocations: 12 kB / 492.5 MB, free: 4.254 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004133/0.4557, allocations: 3.129 MB / 495.6 MB, free: 1.117 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.4558, allocations: 27.94 kB / 495.7 MB, free: 1.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.593e-05/0.4558, allocations: 48 kB / 495.7 MB, free: 1.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.222e-05/0.4559, allocations: 64 kB / 495.8 MB, free: 0.9805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.4575, allocations: 0.5895 MB / 496.3 MB, free: 400 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.98e-05/0.4576, allocations: 99.58 kB / 496.4 MB, free: 300 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/0.4595, allocations: 408.4 kB / 496.8 MB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/0.4598, allocations: 144 kB / 497 MB, free: 15.75 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.002193/0.462, allocations: 1.558 MB / 498.5 MB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.4622, allocations: 138.2 kB / 498.7 MB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008951/0.4631, allocations: 0.6133 MB / 499.3 MB, free: 13.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000395/0.4635, allocations: 313.5 kB / 499.6 MB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.4635, allocations: 0 / 499.6 MB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.4635, allocations: 7.984 kB / 499.6 MB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005409/0.4689, allocations: 3.968 MB / 0.4918 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.469, allocations: 7.938 kB / 0.4918 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.4692, allocations: 55.91 kB / 0.4918 GB, free: 8.883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.4692, allocations: 12.58 kB / 0.4918 GB, free: 8.871 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.4693, allocations: 16 kB / 0.4919 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.4693, allocations: 11.94 kB / 0.4919 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.4693, allocations: 4 kB / 0.4919 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009779/0.4703, allocations: 0.8889 MB / 0.4927 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003193/0.4706, allocations: 255.3 kB / 0.493 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.4708, allocations: 12 kB / 0.493 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.4713, allocations: 43.94 kB / 0.493 GB, free: 7.547 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.4714, allocations: 35.86 kB / 0.4931 GB, free: 7.512 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.4714, allocations: 19.98 kB / 0.4931 GB, free: 7.492 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001702/0.4731, allocations: 1.331 MB / 0.4944 GB, free: 6.164 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4731, allocations: 0 / 0.4944 GB, free: 6.164 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002189/0.4753, allocations: 0.9323 MB / 0.4953 GB, free: 5.227 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.0002606/0.4756, allocations: 159.1 kB / 0.4955 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002152/0.4778, allocations: 1.674 MB / 0.4971 GB, free: 3.395 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4778, allocations: 0 / 0.4971 GB, free: 3.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.478, allocations: 187.9 kB / 0.4973 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/0.4795, allocations: 302.3 kB / 0.4976 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009375/0.4889, allocations: 5.902 MB / 0.5033 GB, free: 12.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003402/0.4923, allocations: 2.895 MB / 0.5061 GB, free: 9.988 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001695/0.494, allocations: 0.7709 MB / 0.5069 GB, free: 9.211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.4943, allocations: 107.4 kB / 0.507 GB, free: 9.105 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4943, allocations: 0 / 0.507 GB, free: 9.105 MB / 446.1 MB Notification: Performance of Templates: time 0.03281/0.5271, allocations: 17.7 MB / 0.5243 GB, free: 7.371 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)