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.0009723/0.0009723, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001039/0.001039, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.0004665/0.0004666, allocations: 8 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3344, allocations: 47.6 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.008244/0.3427, allocations: 7.785 MB / 334.2 MB, free: 11.37 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006216/0.3489, allocations: 2.569 MB / 336.8 MB, free: 9.141 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00134/0.3503, allocations: 59.81 kB / 336.9 MB, free: 9.082 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.3516, allocations: 421.6 kB / 337.3 MB, free: 8.668 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003254/0.3548, allocations: 0.8998 MB / 338.2 MB, free: 7.766 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3564, allocations: 0.6314 MB / 338.8 MB, free: 7.133 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003585/0.36, allocations: 2.597 MB / 341.4 MB, free: 4.531 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01304/0.3731, allocations: 8.109 MB / 349.5 MB, free: 12.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.3754, allocations: 1.44 MB / 351 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.3775, allocations: 1.688 MB / 352.6 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003652/0.3779, allocations: 252 kB / 352.9 MB, free: 8.961 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.3789, allocations: 431.7 kB / 353.3 MB, free: 8.539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006701/0.3796, allocations: 0.7163 MB / 354 MB, free: 7.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008068/0.3804, allocations: 0.82 MB / 354.8 MB, free: 6.992 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005743/0.3862, allocations: 6.814 MB / 361.7 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3862, allocations: 0 / 361.7 MB, free: 164 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.3862, allocations: 0 / 361.7 MB, free: 164 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001648/0.3864, allocations: 0 / 361.7 MB, free: 164 kB / 286.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.01044/0.3968, allocations: 4.273 MB / 365.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3969, allocations: 12.02 kB / 365.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01493/0.4118, allocations: 2.578 MB / 368.5 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005328/0.4172, allocations: 2.135 MB / 370.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.4175, allocations: 341 kB / 371 MB, free: 6.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001078/0.4186, allocations: 443.9 kB / 371.4 MB, free: 6.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.4304, allocations: 6.052 MB / 377.5 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.379e-05/0.4305, allocations: 4 kB / 377.5 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004145/0.431, allocations: 180.1 kB / 377.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002007/0.4312, allocations: 217.3 kB / 377.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009631/0.4408, allocations: 5.763 MB / 383.6 MB, free: 9.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0322/0.473, allocations: 21.48 MB / 405.1 MB, free: 3.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00861/0.4817, allocations: 8.978 MB / 414.1 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006302/0.488, allocations: 3.853 MB / 417.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.4881, allocations: 38.73 kB / 418 MB, free: 5.219 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.464e-06/0.4881, allocations: 0 / 418 MB, free: 5.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001229/0.4893, allocations: 0.9118 MB / 418.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.4894, allocations: 55.59 kB / 419 MB, free: 4.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.4928, allocations: 2.074 MB / 421 MB, free: 2.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.4929, allocations: 29.69 kB / 421.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001634/0.4945, allocations: 2.2 MB / 423.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.4947, allocations: 134.8 kB / 423.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.4948, allocations: 51.94 kB / 423.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.4951, allocations: 459.7 kB / 423.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.4967, allocations: 0.9145 MB / 424.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.4989, allocations: 2.273 MB / 427.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.5009, allocations: 1.447 MB / 428.5 MB, free: 9.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.967e-05/0.5009, allocations: 12 kB / 428.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.004705/0.5056, allocations: 3.204 MB / 431.7 MB, free: 6.637 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.5057, allocations: 32.03 kB / 431.8 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.749e-05/0.5058, allocations: 44 kB / 431.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-05/0.5058, allocations: 72 kB / 431.9 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.5076, allocations: 0.5927 MB / 432.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.64e-05/0.5077, allocations: 95.64 kB / 432.6 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.5098, allocations: 424.1 kB / 433 MB, free: 5.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.51, allocations: 151.9 kB / 433.1 MB, free: 5.238 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002509/0.5126, allocations: 1.554 MB / 434.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002459/0.5128, allocations: 130.3 kB / 434.8 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008912/0.5137, allocations: 0.5653 MB / 435.4 MB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003498/0.5141, allocations: 285.4 kB / 435.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.5141, allocations: 0 / 435.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.5141, allocations: 3.984 kB / 435.7 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006562/0.5207, allocations: 3.391 MB / 439 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.5207, allocations: 3.953 kB / 439.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.5209, allocations: 27.98 kB / 439.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.5209, allocations: 4 kB / 439.1 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/0.5209, allocations: 11.98 kB / 439.1 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.5209, allocations: 7.938 kB / 439.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5209, allocations: 4.281 kB / 439.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009295/0.5219, allocations: 0.8661 MB / 440 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/0.5225, allocations: 291.2 kB / 440.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.5228, allocations: 11.98 kB / 440.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000698/0.5235, allocations: 31.95 kB / 440.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.5236, allocations: 27.86 kB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.5236, allocations: 8 kB / 440.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002005/0.5256, allocations: 1.383 MB / 441.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5256, allocations: 3.938 kB / 441.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003133/0.5288, allocations: 0.9362 MB / 442.7 MB, free: 11.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003337/0.5291, allocations: 147.1 kB / 442.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002635/0.5317, allocations: 1.681 MB / 444.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5318, allocations: 0 / 444.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.532, allocations: 151.8 kB / 444.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.5333, allocations: 278.7 kB / 444.9 MB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.5449, allocations: 7.072 MB / 452 MB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1881/0.733, allocations: 2.951 MB / 454.9 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002404/0.7355, allocations: 0.7622 MB / 455.7 MB, free: 106.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.7357, allocations: 106.6 kB / 455.8 MB, free: 106.9 MB / 382.1 MB Notification: Performance of SimCode: time 1.393e-06/0.7357, allocations: 0 / 455.8 MB, free: 106.9 MB / 382.1 MB Notification: Performance of Templates: time 0.02758/0.7633, allocations: 16.58 MB / 472.4 MB, free: 99.11 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: