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.001355/0.001355, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001653/0.001653, allocations: 190.5 kB / 16.25 MB, free: 6.633 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.443/1.443, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.001303/0.001303, allocations: 47.94 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2229, allocations: 46.62 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.00966/0.2326, allocations: 9.582 MB / 334.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005462/0.2381, allocations: 2.716 MB / 337.1 MB, free: 7.762 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.2394, allocations: 55.81 kB / 337.2 MB, free: 7.707 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007662/0.2471, allocations: 3.573 MB / 340.8 MB, free: 4.121 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.251, allocations: 0.9606 MB / 341.7 MB, free: 3.156 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.2533, allocations: 0.7482 MB / 342.5 MB, free: 2.406 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004736/0.2581, allocations: 3.872 MB / 346.3 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01685/0.275, allocations: 11.12 MB / 357.5 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003745/0.2787, allocations: 2.244 MB / 359.7 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004173/0.2829, allocations: 2.566 MB / 362.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001566/0.2845, allocations: 0.6055 MB / 362.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.287, allocations: 0.824 MB / 363.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.2887, allocations: 1.204 MB / 364.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004262/0.2929, allocations: 2.424 MB / 367.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008384/0.3013, allocations: 8.094 MB / 375.4 MB, free: 1.301 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3014, allocations: 0 / 375.4 MB, free: 1.301 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3014, allocations: 0 / 375.4 MB, free: 1.301 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001739/0.3016, allocations: 0 / 375.4 MB, free: 1.301 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.013/0.3146, allocations: 5.175 MB / 380.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.3146, allocations: 12.03 kB / 380.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01499/0.3296, allocations: 2.571 MB / 383.2 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004393/0.3341, allocations: 2.162 MB / 385.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002834/0.3344, allocations: 337 kB / 385.7 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.3359, allocations: 440 kB / 386.1 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01251/0.3484, allocations: 6.126 MB / 392.2 MB, free: 328 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-05/0.3486, allocations: 7.984 kB / 392.2 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004161/0.349, allocations: 184 kB / 392.4 MB, free: 136 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002161/0.3492, allocations: 213.4 kB / 392.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009805/0.359, allocations: 5.802 MB / 398.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03206/0.3911, allocations: 21.42 MB / 419.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00924/0.4004, allocations: 9.004 MB / 428.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.4022, allocations: 1.008 MB / 429.9 MB, free: 8.582 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005928/0.4082, allocations: 3.678 MB / 433.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.4082, allocations: 38.56 kB / 433.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 2.064e-06/0.4082, allocations: 3.938 kB / 433.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.001346/0.4096, allocations: 0.7651 MB / 434.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4097, allocations: 59.34 kB / 434.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/0.4125, allocations: 1.986 MB / 436.4 MB, free: 1.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.4126, allocations: 33.7 kB / 436.4 MB, free: 1.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001281/0.4139, allocations: 2.165 MB / 438.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.4141, allocations: 170.1 kB / 438.8 MB, free: 15.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000776/0.4149, allocations: 0.5549 MB / 439.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.415, allocations: 345.9 kB / 439.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.4163, allocations: 0.9106 MB / 440.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00206/0.4183, allocations: 2.294 MB / 442.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/0.4215, allocations: 3.141 MB / 446 MB, free: 6.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.865e-05/0.4216, allocations: 16 kB / 446 MB, free: 6.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004859/0.4264, allocations: 3.204 MB / 449.2 MB, free: 3.488 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/0.4265, allocations: 24.19 kB / 449.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.818e-05/0.4266, allocations: 52 kB / 449.3 MB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.227e-05/0.4266, allocations: 64 kB / 449.4 MB, free: 3.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.4284, allocations: 0.5927 MB / 450 MB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.244e-05/0.4285, allocations: 99.53 kB / 450 MB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.4304, allocations: 408.2 kB / 450.4 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.4307, allocations: 144 kB / 450.6 MB, free: 2.117 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.002103/0.4328, allocations: 1.574 MB / 452.2 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.433, allocations: 134.3 kB / 452.3 MB, free: 408 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1624/0.5955, allocations: 0.6983 MB / 453 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007568/0.5963, allocations: 414.5 kB / 453.4 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.5963, allocations: 5.438 kB / 453.4 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.5963, allocations: 1.719 kB / 453.4 MB, free: 109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006796/0.6031, allocations: 4.079 MB / 457.5 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.6031, allocations: 5.25 kB / 457.5 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002447/0.6034, allocations: 57.56 kB / 457.5 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.6034, allocations: 8.312 kB / 457.6 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.6034, allocations: 14.75 kB / 457.6 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.6035, allocations: 14.47 kB / 457.6 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.6035, allocations: 5.688 kB / 457.6 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001445/0.6049, allocations: 1.038 MB / 458.6 MB, free: 107 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/0.6055, allocations: 261.7 kB / 458.9 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.6058, allocations: 14.75 kB / 458.9 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006098/0.6064, allocations: 43.39 kB / 458.9 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.6065, allocations: 33.73 kB / 459 MB, free: 106.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.6065, allocations: 21.56 kB / 459 MB, free: 106.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002204/0.6087, allocations: 1.336 MB / 460.3 MB, free: 106.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.6087, allocations: 0 / 460.3 MB, free: 106.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002659/0.6114, allocations: 0.93 MB / 461.3 MB, free: 106.1 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.00027/0.6117, allocations: 159.1 kB / 461.4 MB, free: 106 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.6136, allocations: 1.768 MB / 463.2 MB, free: 105.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6136, allocations: 0 / 463.2 MB, free: 105.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.6139, allocations: 234 kB / 463.4 MB, free: 105.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001385/0.6153, allocations: 307.9 kB / 463.7 MB, free: 105.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008619/0.6239, allocations: 7.744 MB / 471.5 MB, free: 100.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/0.6258, allocations: 2.891 MB / 474.3 MB, free: 98.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001763/0.6276, allocations: 0.7686 MB / 475.1 MB, free: 98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.6278, allocations: 111.4 kB / 475.2 MB, free: 97.89 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6278, allocations: 2.406 kB / 475.2 MB, free: 97.89 MB / 382.1 MB Notification: Performance of Templates: time 0.03224/0.6601, allocations: 17.67 MB / 492.9 MB, free: 80.24 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)