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.00087/0.0008702, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.0009961/0.0009964, allocations: 172.7 kB / 15.95 MB, free: 208 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.496/1.496, allocations: 205.4 MB / 222.1 MB, free: 5.629 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.0004696/0.0004698, allocations: 10.81 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3052, allocations: 47.58 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01015/0.3154, allocations: 8.309 MB / 334.8 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007659/0.3231, allocations: 2.51 MB / 337.3 MB, free: 8.645 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.3251, allocations: 55.88 kB / 337.4 MB, free: 8.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.3265, allocations: 393.6 kB / 337.7 MB, free: 8.203 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00368/0.3302, allocations: 0.8944 MB / 338.6 MB, free: 7.305 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.3321, allocations: 0.6354 MB / 339.3 MB, free: 6.668 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.005514/0.3376, allocations: 3.622 MB / 342.9 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0171/0.3548, allocations: 8.19 MB / 351.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003371/0.3582, allocations: 1.557 MB / 352.6 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004315/0.3625, allocations: 1.821 MB / 354.5 MB, free: 7.375 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.3637, allocations: 252 kB / 354.7 MB, free: 7.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.3664, allocations: 463.7 kB / 355.2 MB, free: 6.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.3679, allocations: 0.7356 MB / 355.9 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002519/0.3704, allocations: 0.82 MB / 356.7 MB, free: 5.109 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009379/0.3798, allocations: 6.817 MB / 363.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.3799, allocations: 0 / 363.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.3799, allocations: 0 / 363.5 MB, free: 14.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003233/0.3802, allocations: 0 / 363.5 MB, free: 14.27 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.0138/0.394, allocations: 4.273 MB / 367.8 MB, free: 9.934 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.3941, allocations: 8.031 kB / 367.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/0.41, allocations: 2.582 MB / 370.4 MB, free: 7.336 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005147/0.4152, allocations: 2.139 MB / 372.5 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004675/0.4157, allocations: 337 kB / 372.9 MB, free: 4.816 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001939/0.4177, allocations: 443.9 kB / 373.3 MB, free: 4.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02041/0.4381, allocations: 6.091 MB / 379.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/0.4383, allocations: 0 / 379.4 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/0.44, allocations: 184 kB / 379.6 MB, free: 14.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000303/0.4403, allocations: 221.3 kB / 379.8 MB, free: 13.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.4553, allocations: 5.767 MB / 385.5 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04551/0.5009, allocations: 21.47 MB / 407 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009003/0.5099, allocations: 8.978 MB / 416 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.5116, allocations: 1.02 MB / 417 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005655/0.5173, allocations: 3.678 MB / 420.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.5174, allocations: 38.55 kB / 420.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 2.736e-06/0.5174, allocations: 3.938 kB / 420.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001311/0.5187, allocations: 0.769 MB / 421.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.5187, allocations: 55.41 kB / 421.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002872/0.5216, allocations: 1.971 MB / 423.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.5217, allocations: 29.7 kB / 423.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.5232, allocations: 2.173 MB / 425.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.5233, allocations: 170.1 kB / 425.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.5235, allocations: 52 kB / 425.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.5237, allocations: 455.9 kB / 426.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.5251, allocations: 0.9067 MB / 427.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002416/0.5276, allocations: 2.279 MB / 429.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/0.5297, allocations: 1.435 MB / 431 MB, free: 7.457 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.692e-05/0.5297, allocations: 12 kB / 431 MB, free: 7.445 MB / 366.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.005151/0.5349, allocations: 3.187 MB / 434.2 MB, free: 4.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.5349, allocations: 27.28 kB / 434.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.646e-05/0.535, allocations: 48 kB / 434.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-05/0.5351, allocations: 72.75 kB / 434.4 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.5369, allocations: 0.5927 MB / 435 MB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.352e-05/0.537, allocations: 99.64 kB / 435 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.5391, allocations: 404.2 kB / 435.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.5394, allocations: 148 kB / 435.6 MB, free: 2.875 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002712/0.5421, allocations: 1.558 MB / 437.1 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.5424, allocations: 138.2 kB / 437.3 MB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.5435, allocations: 0.7108 MB / 438 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005149/0.544, allocations: 410.8 kB / 438.4 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.5441, allocations: 4 kB / 438.4 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.5441, allocations: 3.984 kB / 438.4 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007137/0.5512, allocations: 4.069 MB / 442.5 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.5512, allocations: 8.078 kB / 442.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.5515, allocations: 63.84 kB / 442.5 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-05/0.5515, allocations: 11.95 kB / 442.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.5515, allocations: 8 kB / 442.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.5516, allocations: 8 kB / 442.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/0.5516, allocations: 11.92 kB / 442.6 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.5529, allocations: 1.029 MB / 443.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005491/0.5535, allocations: 303.1 kB / 443.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.5538, allocations: 4 kB / 443.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.5544, allocations: 43.94 kB / 443.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.5544, allocations: 39.86 kB / 444 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.5545, allocations: 20.05 kB / 444 MB, free: 10.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001955/0.5564, allocations: 1.315 MB / 445.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5564, allocations: 0 / 445.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003069/0.5595, allocations: 0.9246 MB / 446.2 MB, free: 7.898 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 (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.000322/0.5598, allocations: 171 kB / 446.4 MB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002893/0.5627, allocations: 1.731 MB / 448.1 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.5628, allocations: 4 kB / 448.2 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/0.5631, allocations: 226 kB / 448.4 MB, free: 5.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.5646, allocations: 285.3 kB / 448.6 MB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1977/0.7623, allocations: 7.38 MB / 456 MB, free: 115.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002594/0.7649, allocations: 2.897 MB / 458.9 MB, free: 114.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002127/0.7671, allocations: 0.7708 MB / 459.7 MB, free: 114.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.7673, allocations: 108 kB / 459.8 MB, free: 114.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.766e-06/0.7673, allocations: 0 / 459.8 MB, free: 114.2 MB / 382.1 MB Notification: Performance of Templates: time 0.0283/0.7956, allocations: 16.61 MB / 476.4 MB, free: 102.4 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)