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.001479/0.001479, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001491/0.001491, allocations: 194.1 kB / 16.14 MB, free: 6.711 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.451/1.451, allocations: 205.1 MB / 222 MB, free: 4.766 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.001101/0.001101, allocations: 43.94 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2024, allocations: 46.63 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009593/0.212, allocations: 9.575 MB / 334.3 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005691/0.2177, allocations: 2.734 MB / 337 MB, free: 7.816 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.2192, allocations: 51.88 kB / 337 MB, free: 7.766 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007077/0.2263, allocations: 3.577 MB / 340.6 MB, free: 4.176 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.2294, allocations: 0.9645 MB / 341.6 MB, free: 3.207 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.231, allocations: 0.7643 MB / 342.3 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003524/0.2345, allocations: 3.789 MB / 346.1 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009525/0.2441, allocations: 8.095 MB / 354.2 MB, free: 6.457 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.2466, allocations: 1.986 MB / 356.2 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.2498, allocations: 2.484 MB / 358.7 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001053/0.2509, allocations: 471.9 kB / 359.2 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001735/0.2526, allocations: 0.6678 MB / 359.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009877/0.2537, allocations: 1.044 MB / 360.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002544/0.2562, allocations: 2.264 MB / 363.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007491/0.2637, allocations: 7.985 MB / 371.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2637, allocations: 0 / 371.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2638, allocations: 0 / 371.1 MB, free: 5.516 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001765/0.2639, allocations: 3.938 kB / 371.1 MB, free: 5.512 MB / 302.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.01306/0.277, allocations: 5.174 MB / 376.3 MB, free: 272 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.2771, allocations: 8.031 kB / 376.3 MB, free: 264 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01497/0.292, allocations: 2.567 MB / 378.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003995/0.2961, allocations: 2.162 MB / 381 MB, free: 11.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/0.2963, allocations: 341 kB / 381.4 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008979/0.2972, allocations: 443.9 kB / 381.8 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/0.3082, allocations: 6.13 MB / 387.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.453e-05/0.3083, allocations: 0 / 387.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004375/0.3087, allocations: 184 kB / 388.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.3089, allocations: 221.3 kB / 388.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.3193, allocations: 5.799 MB / 394.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03631/0.3557, allocations: 21.41 MB / 415.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00818/0.3639, allocations: 8.998 MB / 424.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.3655, allocations: 1.012 MB / 425.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005512/0.371, allocations: 3.678 MB / 429.2 MB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.371, allocations: 42.55 kB / 429.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.614e-06/0.3711, allocations: 0 / 429.3 MB, free: 8.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00133/0.3724, allocations: 0.7651 MB / 430 MB, free: 8.012 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.3724, allocations: 63.22 kB / 430.1 MB, free: 7.938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/0.3755, allocations: 1.983 MB / 432.1 MB, free: 5.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3756, allocations: 29.7 kB / 432.1 MB, free: 5.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001361/0.3769, allocations: 2.181 MB / 434.3 MB, free: 3.695 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.3771, allocations: 166.2 kB / 434.5 MB, free: 3.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007656/0.3779, allocations: 0.5587 MB / 435 MB, free: 2.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.378, allocations: 341.9 kB / 435.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.3793, allocations: 0.9145 MB / 436.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.3813, allocations: 2.287 MB / 438.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/0.3843, allocations: 3.149 MB / 441.7 MB, free: 10.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/0.3844, allocations: 12 kB / 441.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004447/0.3888, allocations: 3.2 MB / 444.9 MB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.3889, allocations: 28.19 kB / 444.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.791e-05/0.3889, allocations: 52 kB / 445 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.999e-05/0.389, allocations: 64 kB / 445 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.3907, allocations: 0.5927 MB / 445.6 MB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.05e-05/0.3908, allocations: 99.58 kB / 445.7 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.3926, allocations: 400.2 kB / 446.1 MB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.3928, allocations: 148 kB / 446.3 MB, free: 6.336 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 (320): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001962/0.3947, allocations: 1.57 MB / 447.8 MB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.3949, allocations: 130.3 kB / 448 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.396, allocations: 0.7146 MB / 448.7 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005188/0.3965, allocations: 406.9 kB / 449.1 MB, free: 3.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3965, allocations: 3.938 kB / 449.1 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3965, allocations: 0 / 449.1 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.167/0.5636, allocations: 4.069 MB / 453.2 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.5636, allocations: 4.812 kB / 453.2 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.5639, allocations: 58.34 kB / 453.2 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.82e-05/0.564, allocations: 5.625 kB / 453.2 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.564, allocations: 19.5 kB / 453.2 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/0.564, allocations: 14.23 kB / 453.3 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.5641, allocations: 10.41 kB / 453.3 MB, free: 107.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.5655, allocations: 1.028 MB / 454.3 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.5659, allocations: 270.1 kB / 454.6 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/0.5661, allocations: 20.28 kB / 454.6 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.5667, allocations: 44.09 kB / 454.6 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.5668, allocations: 33.62 kB / 454.7 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-05/0.5668, allocations: 15.31 kB / 454.7 MB, free: 107.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002127/0.5689, allocations: 1.337 MB / 456 MB, free: 107 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5689, allocations: 0 / 456 MB, free: 107 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002777/0.5717, allocations: 0.9273 MB / 456.9 MB, free: 106.8 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002504/0.572, allocations: 161 kB / 457.1 MB, free: 106.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002468/0.5745, allocations: 1.751 MB / 458.8 MB, free: 106.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5745, allocations: 9.719 kB / 458.9 MB, free: 106.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.5747, allocations: 223.8 kB / 459.1 MB, free: 106 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.5761, allocations: 280.6 kB / 459.3 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008368/0.5845, allocations: 7.739 MB / 467.1 MB, free: 101.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001762/0.5863, allocations: 2.895 MB / 470 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001679/0.588, allocations: 0.7739 MB / 470.8 MB, free: 99.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.5882, allocations: 105.6 kB / 470.9 MB, free: 99.96 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.5882, allocations: 1.859 kB / 470.9 MB, free: 99.96 MB / 382.1 MB Notification: Performance of Templates: time 0.02519/0.6134, allocations: 17.09 MB / 487.9 MB, free: 84.59 MB / 382.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)