Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001919/0.00192, allocations: 104 kB / 16.92 MB, free: 5.793 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.001873/0.001873, allocations: 191.3 kB / 17.85 MB, free: 5.188 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.48/1.48, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.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.001433/0.001433, allocations: 48.62 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09186, allocations: 46.63 MB / 326.6 MB, free: 4.469 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01066/0.1026, allocations: 9.692 MB / 336.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005505/0.1081, allocations: 2.745 MB / 339.1 MB, free: 7.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.1095, allocations: 55.81 kB / 339.1 MB, free: 7.906 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008328/0.1179, allocations: 3.773 MB / 342.9 MB, free: 4.117 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003797/0.1217, allocations: 1.072 MB / 344 MB, free: 3.039 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.1239, allocations: 0.8063 MB / 344.8 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004948/0.1288, allocations: 3.883 MB / 348.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01275/0.1416, allocations: 9.592 MB / 358.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.1448, allocations: 2.213 MB / 360.5 MB, free: 2.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003629/0.1484, allocations: 2.554 MB / 363 MB, free: 15.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001648/0.1501, allocations: 0.6016 MB / 363.6 MB, free: 15.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.1525, allocations: 0.8122 MB / 364.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001545/0.1541, allocations: 1.2 MB / 365.6 MB, free: 13.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004344/0.1584, allocations: 2.416 MB / 368 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009006/0.1674, allocations: 8.09 MB / 376.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1675, allocations: 0 / 376.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1675, allocations: 0 / 376.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002458/0.1677, allocations: 4 kB / 376.1 MB, free: 2.715 MB / 318.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.1794/0.3472, allocations: 5.161 MB / 381.3 MB, free: 48.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.3473, allocations: 9.562 kB / 381.3 MB, free: 48.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01571/0.363, allocations: 2.57 MB / 383.9 MB, free: 48.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005116/0.3681, allocations: 2.159 MB / 386 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.3685, allocations: 338.8 kB / 386.4 MB, free: 46.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/0.3696, allocations: 444.2 kB / 386.8 MB, free: 46.6 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.3799, allocations: 6.104 MB / 392.9 MB, free: 43.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.121e-05/0.38, allocations: 6.281 kB / 392.9 MB, free: 43.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004237/0.3805, allocations: 183.8 kB / 393.1 MB, free: 43.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002319/0.3807, allocations: 221.1 kB / 393.3 MB, free: 43.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008235/0.389, allocations: 5.781 MB / 399.1 MB, free: 40.15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02579/0.4148, allocations: 21.4 MB / 420.5 MB, free: 18.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006322/0.4212, allocations: 8.961 MB / 429.4 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.4226, allocations: 0.9686 MB / 430.4 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004343/0.4269, allocations: 3.552 MB / 434 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.427, allocations: 42.73 kB / 434 MB, free: 3.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=28): time 2.354e-06/0.427, allocations: 0 / 434 MB, free: 3.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008899/0.4279, allocations: 0.6405 MB / 434.7 MB, free: 2.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.4279, allocations: 55.41 kB / 434.7 MB, free: 2.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.43, allocations: 1.986 MB / 436.7 MB, free: 348 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.43, allocations: 29.7 kB / 436.7 MB, free: 312 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001362/0.4314, allocations: 2.181 MB / 438.9 MB, free: 14.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.4315, allocations: 150.5 kB / 439 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007387/0.4323, allocations: 0.5431 MB / 439.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.4325, allocations: 353.9 kB / 439.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.4337, allocations: 0.8754 MB / 440.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.436, allocations: 2.25 MB / 443.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/0.4393, allocations: 3.063 MB / 446.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/0.4394, allocations: 12 kB / 446.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004474/0.4438, allocations: 3.125 MB / 449.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.4439, allocations: 24 kB / 449.3 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-05/0.444, allocations: 48 kB / 449.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-05/0.4441, allocations: 64.78 kB / 449.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.4458, allocations: 0.5927 MB / 450 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.323e-05/0.4459, allocations: 99.64 kB / 450.1 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.4478, allocations: 416.1 kB / 450.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.448, allocations: 140 kB / 450.6 MB, free: 0.9805 MB / 334.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.002373/0.4504, allocations: 1.566 MB / 452.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.4507, allocations: 134.2 kB / 452.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/0.4518, allocations: 0.6056 MB / 452.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004429/0.4522, allocations: 325.4 kB / 453.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.4522, allocations: 4 kB / 453.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4523, allocations: 0 / 453.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006962/0.4592, allocations: 3.971 MB / 457.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.4593, allocations: 4 kB / 457.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.4595, allocations: 59.89 kB / 457.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.4596, allocations: 4 kB / 457.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.4596, allocations: 12 kB / 457.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.4596, allocations: 12.02 kB / 457.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.4596, allocations: 7.984 kB / 457.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/0.4608, allocations: 0.9075 MB / 458.2 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.4613, allocations: 255.3 kB / 458.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002631/0.4616, allocations: 12 kB / 458.5 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006572/0.4623, allocations: 43.94 kB / 458.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.4623, allocations: 35.78 kB / 458.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.4624, allocations: 20.06 kB / 458.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001934/0.4643, allocations: 1.335 MB / 459.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4643, allocations: 0 / 459.9 MB, free: 7.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002726/0.4671, allocations: 0.9193 MB / 460.8 MB, free: 6.457 MB / 350.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.0003236/0.4674, allocations: 167.8 kB / 461 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002689/0.4701, allocations: 1.676 MB / 462.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4701, allocations: 0 / 462.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002634/0.4704, allocations: 177.3 kB / 462.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.4721, allocations: 293.5 kB / 463.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.4845, allocations: 5.995 MB / 469.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003744/0.4883, allocations: 2.894 MB / 472 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002579/0.4909, allocations: 0.7748 MB / 472.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/0.4913, allocations: 103.4 kB / 472.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4913, allocations: 4 kB / 472.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of Templates: time 0.03721/0.5286, allocations: 17.02 MB / 489.9 MB, free: 9.234 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1)