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.001004/0.001004, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006355/0.006355, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.471/1.471, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004547/0.0004547, allocations: 16 kB / 279.5 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2209, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.008368/0.2294, allocations: 8.95 MB / 336 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005953/0.2354, allocations: 2.693 MB / 338.7 MB, free: 7.707 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001942/0.2373, allocations: 51.88 kB / 338.7 MB, free: 7.656 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001975/0.2393, allocations: 0.5639 MB / 339.3 MB, free: 7.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004171/0.2435, allocations: 0.9645 MB / 340.3 MB, free: 6.121 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.2458, allocations: 0.7443 MB / 341 MB, free: 5.375 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004958/0.2508, allocations: 3.782 MB / 344.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01546/0.2662, allocations: 9.921 MB / 354.7 MB, free: 7.547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.2687, allocations: 1.564 MB / 356.3 MB, free: 5.977 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.2711, allocations: 1.918 MB / 358.2 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004107/0.2716, allocations: 256 kB / 358.4 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.2727, allocations: 463.8 kB / 358.9 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005809/0.2733, allocations: 0.7509 MB / 359.6 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.2752, allocations: 1.945 MB / 361.6 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006451/0.2816, allocations: 7.643 MB / 369.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2816, allocations: 4 kB / 369.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.556e-06/0.2817, allocations: 0 / 369.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000158/0.2818, allocations: 3.938 kB / 369.2 MB, free: 8.957 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.01076/0.2926, allocations: 4.226 MB / 373.5 MB, free: 4.664 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.2927, allocations: 15.97 kB / 373.5 MB, free: 4.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/0.3085, allocations: 2.579 MB / 376.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004276/0.3128, allocations: 2.166 MB / 378.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.3131, allocations: 341 kB / 378.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/0.3143, allocations: 436 kB / 379 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.3277, allocations: 6.126 MB / 385.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/0.3279, allocations: 7.906 kB / 385.1 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004276/0.3283, allocations: 183.9 kB / 385.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000211/0.3285, allocations: 217.3 kB / 385.5 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/0.339, allocations: 5.802 MB / 391.3 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02879/0.3678, allocations: 21.48 MB / 412.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008188/0.376, allocations: 8.982 MB / 421.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.3777, allocations: 1.012 MB / 422.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005273/0.383, allocations: 3.686 MB / 426.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.3831, allocations: 34.56 kB / 426.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 5.029e-06/0.3831, allocations: 0 / 426.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001228/0.3843, allocations: 0.7728 MB / 427.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.3844, allocations: 55.34 kB / 427.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/0.3872, allocations: 1.986 MB / 429.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.3873, allocations: 33.7 kB / 429.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001584/0.3889, allocations: 2.177 MB / 431.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.389, allocations: 162.3 kB / 431.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.3893, allocations: 202.8 kB / 431.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3894, allocations: 345.9 kB / 432.2 MB, free: 7.309 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.3907, allocations: 0.9145 MB / 433.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/0.3929, allocations: 2.29 MB / 435.4 MB, free: 3.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003236/0.3961, allocations: 3.145 MB / 438.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.3962, allocations: 12 kB / 438.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004637/0.4008, allocations: 3.204 MB / 441.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.4009, allocations: 27.28 kB / 441.8 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-05/0.4009, allocations: 48 kB / 441.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.957e-05/0.401, allocations: 68 kB / 441.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/0.4027, allocations: 0.5926 MB / 442.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-05/0.4028, allocations: 103.6 kB / 442.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.4046, allocations: 420.3 kB / 443 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001686/0.4048, allocations: 140 kB / 443.2 MB, free: 11 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.002227/0.407, allocations: 1.562 MB / 444.7 MB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.4072, allocations: 130.3 kB / 444.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/0.4083, allocations: 0.7108 MB / 445.6 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005071/0.4088, allocations: 406.9 kB / 446 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4088, allocations: 3.938 kB / 446 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4089, allocations: 0 / 446 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005562/0.4144, allocations: 4.085 MB / 450.1 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4144, allocations: 4.094 kB / 450.1 MB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.4147, allocations: 63.83 kB / 450.1 MB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.4147, allocations: 4.594 kB / 450.1 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.4147, allocations: 19.94 kB / 450.1 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.4148, allocations: 11.94 kB / 450.2 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.4148, allocations: 4 kB / 450.2 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.4159, allocations: 1.03 MB / 451.2 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.4163, allocations: 299.1 kB / 451.5 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/0.4164, allocations: 15.94 kB / 451.5 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/0.417, allocations: 43.94 kB / 451.5 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.4171, allocations: 35.91 kB / 451.6 MB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.4171, allocations: 16 kB / 451.6 MB, free: 2.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00165/0.4187, allocations: 1.339 MB / 452.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4188, allocations: 0 / 452.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002384/0.4211, allocations: 0.9207 MB / 453.9 MB, free: 0 / 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.0003842/0.6004, allocations: 161.7 kB / 454 MB, free: 107.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.6037, allocations: 1.755 MB / 455.8 MB, free: 107.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6037, allocations: 2.359 kB / 455.8 MB, free: 107.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.604, allocations: 223.5 kB / 456 MB, free: 107.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.6065, allocations: 283.9 kB / 456.3 MB, free: 107.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.6173, allocations: 7.792 MB / 464.1 MB, free: 102.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/0.6194, allocations: 2.898 MB / 467 MB, free: 101.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001748/0.6211, allocations: 0.774 MB / 467.7 MB, free: 101.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.6213, allocations: 108 kB / 467.8 MB, free: 101.4 MB / 382.1 MB Notification: Performance of SimCode: time 8.82e-07/0.6213, allocations: 0 / 467.8 MB, free: 101.4 MB / 382.1 MB Notification: Performance of Templates: time 0.02767/0.649, allocations: 16.93 MB / 484.8 MB, free: 88.62 MB / 382.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)