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.001174/0.001174, allocations: 105.6 kB / 17.06 MB, free: 6.027 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.001174/0.001174, allocations: 195 kB / 18 MB, free: 5.105 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.492/1.492, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001202/0.001202, allocations: 51.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.08976, allocations: 46.63 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.1925/0.2823, allocations: 9.7 MB / 384.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005264/0.2876, allocations: 2.743 MB / 386.9 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.2888, allocations: 62.94 kB / 387 MB, free: 6.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007011/0.2958, allocations: 3.765 MB / 390.8 MB, free: 4.344 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.2995, allocations: 1.068 MB / 391.8 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.3014, allocations: 0.8096 MB / 392.6 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00432/0.3057, allocations: 3.91 MB / 396.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.3168, allocations: 9.569 MB / 406.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.3202, allocations: 2.214 MB / 408.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.3239, allocations: 2.555 MB / 410.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008849/0.3248, allocations: 0.6033 MB / 411.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.3265, allocations: 0.8136 MB / 412.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009373/0.3275, allocations: 1.199 MB / 413.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0023/0.3298, allocations: 2.421 MB / 415.9 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.3362, allocations: 8.133 MB / 424.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3362, allocations: 4 kB / 424.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3362, allocations: 0 / 424.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001359/0.3363, allocations: 0 / 424.1 MB, free: 14.07 MB / 350.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.01159/0.3479, allocations: 5.155 MB / 429.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.348, allocations: 12.03 kB / 429.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01456/0.3626, allocations: 2.575 MB / 431.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/0.3678, allocations: 2.159 MB / 434 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002901/0.3681, allocations: 337.1 kB / 434.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008651/0.369, allocations: 443.9 kB / 434.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01326/0.3823, allocations: 6.103 MB / 440.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.3825, allocations: 0 / 440.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007694/0.3832, allocations: 188 kB / 441 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002317/0.3835, allocations: 221.3 kB / 441.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.3948, allocations: 5.783 MB / 447 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03285/0.4277, allocations: 21.16 MB / 468.2 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00838/0.4361, allocations: 8.944 MB / 477.1 MB, free: 6.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.4377, allocations: 0.9766 MB / 478.1 MB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005603/0.4434, allocations: 3.553 MB / 481.6 MB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.4434, allocations: 38.78 kB / 481.7 MB, free: 1.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.444e-06/0.4434, allocations: 0 / 481.7 MB, free: 1.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001086/0.4445, allocations: 0.6475 MB / 482.3 MB, free: 1.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.4445, allocations: 55.41 kB / 482.4 MB, free: 1.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00262/0.4472, allocations: 1.986 MB / 484.4 MB, free: 15.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.4472, allocations: 29.7 kB / 484.4 MB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.4485, allocations: 2.181 MB / 486.6 MB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.4486, allocations: 146.5 kB / 486.7 MB, free: 12.75 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000722/0.4493, allocations: 0.5392 MB / 487.3 MB, free: 12.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4495, allocations: 349.9 kB / 487.6 MB, free: 11.86 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.4507, allocations: 0.8793 MB / 488.5 MB, free: 10.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.4527, allocations: 2.239 MB / 490.7 MB, free: 8.055 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.4558, allocations: 3.071 MB / 493.8 MB, free: 4.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.94e-05/0.4558, allocations: 12 kB / 493.8 MB, free: 4.297 MB / 414.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.004624/0.4604, allocations: 3.121 MB / 496.9 MB, free: 1.168 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.287e-05/0.4605, allocations: 35.92 kB / 497 MB, free: 1.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.25e-05/0.4606, allocations: 48 kB / 497 MB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.737e-05/0.4606, allocations: 64.75 kB / 497.1 MB, free: 1.023 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.4624, allocations: 0.5927 MB / 497.7 MB, free: 440 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.532e-05/0.4625, allocations: 95.66 kB / 497.7 MB, free: 344 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.4645, allocations: 408.2 kB / 498.1 MB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/0.4647, allocations: 147.9 kB / 498.3 MB, free: 15.79 MB / 430.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.002173/0.4669, allocations: 1.562 MB / 499.9 MB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.4672, allocations: 130.2 kB / 500 MB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/0.4681, allocations: 0.6172 MB / 0.4889 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004135/0.4686, allocations: 313.5 kB / 0.4892 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.4686, allocations: 0 / 0.4892 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.4686, allocations: 0 / 0.4892 GB, free: 13.12 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006293/0.4749, allocations: 3.976 MB / 0.493 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.4749, allocations: 15.88 kB / 0.4931 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.4752, allocations: 52.5 kB / 0.4931 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.4752, allocations: 8 kB / 0.4931 GB, free: 8.914 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/0.4752, allocations: 16 kB / 0.4931 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.4752, allocations: 7.984 kB / 0.4931 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.844e-06/0.4753, allocations: 11.94 kB / 0.4932 GB, free: 8.879 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4763, allocations: 0.885 MB / 0.494 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004834/0.4768, allocations: 251.3 kB / 0.4943 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/0.477, allocations: 15.98 kB / 0.4943 GB, free: 7.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000604/0.4777, allocations: 44.02 kB / 0.4943 GB, free: 7.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.4777, allocations: 31.84 kB / 0.4943 GB, free: 7.559 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.4778, allocations: 16 kB / 0.4944 GB, free: 7.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001781/0.4795, allocations: 1.339 MB / 0.4957 GB, free: 6.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.4795, allocations: 0 / 0.4957 GB, free: 6.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002756/0.4823, allocations: 0.9284 MB / 0.4966 GB, free: 5.273 MB / 430.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.0003346/0.4827, allocations: 159.1 kB / 0.4967 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002591/0.4853, allocations: 1.67 MB / 0.4984 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4853, allocations: 0.5 kB / 0.4984 GB, free: 3.445 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.4855, allocations: 187.6 kB / 0.4985 GB, free: 3.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.4871, allocations: 314.7 kB / 0.4988 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.498, allocations: 5.902 MB / 0.5046 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002998/0.501, allocations: 2.887 MB / 0.5074 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001792/0.5028, allocations: 0.7709 MB / 0.5082 GB, free: 9.262 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.5031, allocations: 107.4 kB / 0.5083 GB, free: 9.156 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5031, allocations: 0 / 0.5083 GB, free: 9.156 MB / 446.1 MB Notification: Performance of Templates: time 0.03131/0.5345, allocations: 17.49 MB / 0.5254 GB, free: 7.641 MB / 462.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)