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.005913/0.005913, allocations: 98.8 kB / 15.73 MB, free: 6.039 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.001139/0.001139, allocations: 193.7 kB / 16.67 MB, free: 5.965 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.459/1.459, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.00128/0.00128, allocations: 53.05 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0915/0.09279, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01035/0.1032, allocations: 9.7 MB / 382.9 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005852/0.1091, allocations: 2.749 MB / 385.6 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001356/0.1105, allocations: 55.81 kB / 385.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007898/0.1184, allocations: 3.773 MB / 389.5 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003492/0.1219, allocations: 1.061 MB / 390.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.124, allocations: 0.8102 MB / 391.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004642/0.1286, allocations: 3.91 MB / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01196/0.1406, allocations: 9.553 MB / 404.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.1435, allocations: 2.209 MB / 407 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003522/0.147, allocations: 2.554 MB / 409.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.1483, allocations: 0.6055 MB / 410.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.1504, allocations: 0.8123 MB / 411 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.1518, allocations: 1.2 MB / 412.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002925/0.1547, allocations: 2.424 MB / 414.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007514/0.1623, allocations: 8.153 MB / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1623, allocations: 0 / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1623, allocations: 0 / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001378/0.1624, allocations: 4 kB / 422.7 MB, free: 15.51 MB / 366.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.01191/0.1744, allocations: 5.254 MB / 428 MB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.1744, allocations: 8.031 kB / 428 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/0.1896, allocations: 2.585 MB / 430.6 MB, free: 7.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004028/0.1937, allocations: 2.171 MB / 432.8 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.1939, allocations: 341.1 kB / 433.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008458/0.1948, allocations: 440 kB / 433.5 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.2053, allocations: 6.107 MB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.958e-05/0.2055, allocations: 3.953 kB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004179/0.2059, allocations: 188 kB / 439.8 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001891/0.2061, allocations: 221.3 kB / 440 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009438/0.2155, allocations: 5.779 MB / 445.8 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2282/0.4438, allocations: 21.22 MB / 467 MB, free: 56.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00681/0.4506, allocations: 8.95 MB / 476 MB, free: 48.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001561/0.4522, allocations: 0.9699 MB / 477 MB, free: 48.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005061/0.4573, allocations: 3.558 MB / 480.5 MB, free: 45.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.4574, allocations: 32.08 kB / 480.5 MB, free: 45.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.507e-06/0.4574, allocations: 1.344 kB / 480.5 MB, free: 45.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009693/0.4583, allocations: 0.6543 MB / 481.2 MB, free: 44.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.4584, allocations: 54.28 kB / 481.3 MB, free: 44.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002284/0.4607, allocations: 1.988 MB / 483.2 MB, free: 43.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4607, allocations: 29.7 kB / 483.3 MB, free: 43.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009025/0.4616, allocations: 2.28 MB / 485.6 MB, free: 41.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.994e-05/0.4617, allocations: 146.4 kB / 485.7 MB, free: 41.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006006/0.4623, allocations: 0.5544 MB / 486.2 MB, free: 41.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.4624, allocations: 347.6 kB / 486.6 MB, free: 41.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.4635, allocations: 0.8737 MB / 487.5 MB, free: 40.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.465, allocations: 2.247 MB / 489.7 MB, free: 38.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.4672, allocations: 3.066 MB / 492.8 MB, free: 35.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/0.4672, allocations: 15.78 kB / 492.8 MB, free: 35.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.003754/0.471, allocations: 3.133 MB / 495.9 MB, free: 33.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.471, allocations: 34.97 kB / 496 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.164e-05/0.4711, allocations: 47.03 kB / 496 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.066e-05/0.4712, allocations: 66.03 kB / 496.1 MB, free: 33.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.4727, allocations: 0.5908 MB / 496.7 MB, free: 33.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.494e-05/0.4728, allocations: 97.8 kB / 496.8 MB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.4746, allocations: 410.1 kB / 497.2 MB, free: 33.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.4747, allocations: 145.5 kB / 497.3 MB, free: 33.38 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.002082/0.4768, allocations: 1.564 MB / 498.9 MB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.4771, allocations: 143.2 kB / 499 MB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008625/0.4779, allocations: 0.6111 MB / 499.6 MB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003318/0.4783, allocations: 328.3 kB / 499.9 MB, free: 31.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4783, allocations: 0.875 kB / 499.9 MB, free: 31.72 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4783, allocations: 3.984 kB / 499.9 MB, free: 31.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004932/0.4832, allocations: 3.962 MB / 0.4921 GB, free: 28.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.4833, allocations: 7.938 kB / 0.4921 GB, free: 28.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.4835, allocations: 59.89 kB / 0.4922 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.4835, allocations: 4 kB / 0.4922 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.4835, allocations: 15.94 kB / 0.4922 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.4836, allocations: 11.94 kB / 0.4922 GB, free: 27.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4836, allocations: 4 kB / 0.4922 GB, free: 27.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008276/0.4844, allocations: 0.9017 MB / 0.4931 GB, free: 26.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/0.4848, allocations: 260.1 kB / 0.4933 GB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.4849, allocations: 11.95 kB / 0.4933 GB, free: 26.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.4855, allocations: 43.94 kB / 0.4934 GB, free: 26.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.4855, allocations: 31.92 kB / 0.4934 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.4856, allocations: 19.98 kB / 0.4934 GB, free: 26.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001471/0.4871, allocations: 1.331 MB / 0.4947 GB, free: 25.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4871, allocations: 0 / 0.4947 GB, free: 25.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002654/0.4897, allocations: 0.9415 MB / 0.4956 GB, free: 24.33 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.0002918/0.49, allocations: 166.5 kB / 0.4958 GB, free: 24.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.4922, allocations: 1.679 MB / 0.4974 GB, free: 22.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4922, allocations: 0 / 0.4974 GB, free: 22.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001926/0.4924, allocations: 178.1 kB / 0.4976 GB, free: 22.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.4939, allocations: 310.5 kB / 0.4979 GB, free: 22.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008874/0.5028, allocations: 6.005 MB / 0.5038 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/0.5047, allocations: 2.891 MB / 0.5066 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00178/0.5065, allocations: 0.7748 MB / 0.5073 GB, free: 12.26 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.5067, allocations: 103.4 kB / 0.5074 GB, free: 12.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5067, allocations: 0 / 0.5074 GB, free: 12.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02943/0.5362, allocations: 17.71 MB / 0.5247 GB, free: 10.44 MB / 398.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)