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.001096/0.001096, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.354/1.354, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001178/0.001178, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2166, allocations: 46.63 MB / 325.3 MB, free: 1.848 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01129/0.228, allocations: 9.707 MB / 335 MB, free: 10.08 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006887/0.2349, allocations: 2.743 MB / 337.8 MB, free: 7.422 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.2368, allocations: 55.88 kB / 337.8 MB, free: 7.367 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008206/0.2451, allocations: 3.757 MB / 341.6 MB, free: 3.594 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.249, allocations: 1.084 MB / 342.7 MB, free: 2.504 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.251, allocations: 0.7985 MB / 343.5 MB, free: 1.703 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004126/0.2551, allocations: 3.879 MB / 347.3 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01043/0.2656, allocations: 9.594 MB / 356.9 MB, free: 4.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.2684, allocations: 2.213 MB / 359.1 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003164/0.2716, allocations: 2.55 MB / 361.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007935/0.2724, allocations: 0.6055 MB / 362.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/0.2739, allocations: 0.8162 MB / 363.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009158/0.2748, allocations: 1.2 MB / 364.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002171/0.277, allocations: 2.42 MB / 366.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00653/0.2835, allocations: 8.082 MB / 374.8 MB, free: 2.195 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2836, allocations: 4 kB / 374.8 MB, free: 2.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2836, allocations: 0 / 374.8 MB, free: 2.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001472/0.2837, allocations: 0 / 374.8 MB, free: 2.191 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.01411/0.2979, allocations: 5.155 MB / 380 MB, free: 12.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/0.2979, allocations: 8.031 kB / 380 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01588/0.3138, allocations: 2.575 MB / 382.6 MB, free: 10.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00437/0.3182, allocations: 2.162 MB / 384.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002629/0.3185, allocations: 337.1 kB / 385.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.3196, allocations: 444 kB / 385.5 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01235/0.332, allocations: 6.103 MB / 391.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.693e-05/0.3321, allocations: 3.906 kB / 391.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004507/0.3325, allocations: 184 kB / 391.8 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002168/0.3328, allocations: 217.3 kB / 392 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009745/0.3425, allocations: 5.783 MB / 397.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0301/0.3727, allocations: 21.42 MB / 419.2 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008568/0.3813, allocations: 8.954 MB / 428.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.383, allocations: 0.9766 MB / 429.1 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006305/0.3893, allocations: 3.55 MB / 432.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/0.3894, allocations: 38.73 kB / 432.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.354e-06/0.3894, allocations: 0 / 432.7 MB, free: 5.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001067/0.3904, allocations: 0.6404 MB / 433.3 MB, free: 5.078 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3905, allocations: 55.41 kB / 433.4 MB, free: 5.012 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.3933, allocations: 1.982 MB / 435.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.3933, allocations: 29.7 kB / 435.4 MB, free: 2.984 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001632/0.395, allocations: 2.188 MB / 437.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.3951, allocations: 142.5 kB / 437.7 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008393/0.396, allocations: 0.5431 MB / 438.3 MB, free: 72 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3962, allocations: 345.9 kB / 438.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.3974, allocations: 0.8831 MB / 439.5 MB, free: 14.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002028/0.3995, allocations: 2.243 MB / 441.7 MB, free: 11.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/0.4026, allocations: 3.067 MB / 444.8 MB, free: 8.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-05/0.4026, allocations: 16 kB / 444.8 MB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004702/0.4073, allocations: 3.126 MB / 448 MB, free: 5.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.4074, allocations: 35.09 kB / 448 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-05/0.4075, allocations: 52 kB / 448 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.739e-05/0.4075, allocations: 71.94 kB / 448.1 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001779/0.4093, allocations: 0.5888 MB / 448.7 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.511e-05/0.4094, allocations: 99.64 kB / 448.8 MB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001923/0.4113, allocations: 400.2 kB / 449.2 MB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001837/0.4115, allocations: 148 kB / 449.3 MB, free: 3.652 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 (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.002164/0.4137, allocations: 1.562 MB / 450.9 MB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.414, allocations: 134.2 kB / 451 MB, free: 1.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.415, allocations: 0.6056 MB / 451.6 MB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000421/0.4154, allocations: 325.4 kB / 451.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.4154, allocations: 0 / 451.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.4154, allocations: 0 / 451.9 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1766/0.592, allocations: 3.976 MB / 455.9 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.5921, allocations: 3.938 kB / 455.9 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002901/0.5924, allocations: 56.02 kB / 456 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/0.5924, allocations: 10.69 kB / 456 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.5924, allocations: 13.97 kB / 456 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.5924, allocations: 9.578 kB / 456 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.5925, allocations: 9.281 kB / 456 MB, free: 108 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5936, allocations: 0.8897 MB / 456.9 MB, free: 107.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.594, allocations: 248.8 kB / 457.2 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.5942, allocations: 14.08 kB / 457.2 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.5948, allocations: 45.22 kB / 457.2 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/0.5948, allocations: 31.59 kB / 457.2 MB, free: 107.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.5949, allocations: 15.53 kB / 457.3 MB, free: 107.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001713/0.5966, allocations: 1.341 MB / 458.6 MB, free: 106.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5966, allocations: 0 / 458.6 MB, free: 106.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002546/0.5991, allocations: 0.9207 MB / 459.5 MB, free: 106.7 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 (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.0002629/0.5994, allocations: 159.5 kB / 459.7 MB, free: 106.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002171/0.6016, allocations: 1.68 MB / 461.4 MB, free: 106 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.6016, allocations: 3.5 kB / 461.4 MB, free: 106 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.6018, allocations: 185.3 kB / 461.5 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.6032, allocations: 297 kB / 461.8 MB, free: 105.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008397/0.6117, allocations: 5.983 MB / 467.8 MB, free: 103 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/0.6136, allocations: 2.893 MB / 470.7 MB, free: 101.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00167/0.6153, allocations: 0.7751 MB / 471.5 MB, free: 101.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.6155, allocations: 107.1 kB / 471.6 MB, free: 101.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.6155, allocations: 4 kB / 471.6 MB, free: 101.2 MB / 382.1 MB Notification: Performance of Templates: time 0.0255/0.641, allocations: 17.03 MB / 488.6 MB, free: 84.43 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)