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.001237/0.001237, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001886/0.001886, allocations: 168.7 kB / 15.95 MB, free: 204 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.753/1.753, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004637/0.000464, allocations: 15.94 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2707, allocations: 47.6 MB / 326.5 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.008548/0.2793, allocations: 8.313 MB / 334.8 MB, free: 10.85 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006902/0.2863, allocations: 2.508 MB / 337.3 MB, free: 8.656 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.2879, allocations: 51.88 kB / 337.4 MB, free: 8.605 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.2892, allocations: 401.5 kB / 337.8 MB, free: 8.211 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.2927, allocations: 0.8905 MB / 338.6 MB, free: 7.316 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.2945, allocations: 0.6354 MB / 339.3 MB, free: 6.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0049/0.2994, allocations: 3.618 MB / 342.9 MB, free: 3.047 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01546/0.3149, allocations: 8.19 MB / 351.1 MB, free: 10.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/0.3182, allocations: 1.553 MB / 352.6 MB, free: 9.223 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004031/0.3222, allocations: 1.829 MB / 354.5 MB, free: 7.387 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.3235, allocations: 252 kB / 354.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.3259, allocations: 459.8 kB / 355.2 MB, free: 6.691 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.3272, allocations: 0.7279 MB / 355.9 MB, free: 5.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001911/0.3291, allocations: 0.8239 MB / 356.7 MB, free: 5.129 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008144/0.3373, allocations: 6.817 MB / 363.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3373, allocations: 0 / 363.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3373, allocations: 0 / 363.5 MB, free: 14.29 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002927/0.3376, allocations: 0 / 363.5 MB, free: 14.29 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.01256/0.3502, allocations: 4.277 MB / 367.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.3503, allocations: 12.03 kB / 367.8 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01496/0.3652, allocations: 2.574 MB / 370.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004906/0.3702, allocations: 2.139 MB / 372.5 MB, free: 5.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004375/0.3707, allocations: 337.1 kB / 372.9 MB, free: 4.836 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001817/0.3725, allocations: 443.9 kB / 373.3 MB, free: 4.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.3895, allocations: 6.091 MB / 379.4 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002209/0.3898, allocations: 4 kB / 379.4 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001392/0.3912, allocations: 184 kB / 379.6 MB, free: 14.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002749/0.3915, allocations: 217.3 kB / 379.8 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01444/0.4059, allocations: 5.763 MB / 385.5 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03748/0.4435, allocations: 21.48 MB / 407 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008163/0.4517, allocations: 8.974 MB / 416 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/0.4534, allocations: 1.023 MB / 417 MB, free: 6.523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005802/0.4592, allocations: 3.682 MB / 420.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.4593, allocations: 34.56 kB / 420.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 3.637e-06/0.4593, allocations: 4 kB / 420.7 MB, free: 2.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.001344/0.4606, allocations: 0.765 MB / 421.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.4607, allocations: 55.41 kB / 421.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003328/0.464, allocations: 1.975 MB / 423.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.4641, allocations: 29.7 kB / 423.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001711/0.4658, allocations: 2.173 MB / 425.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.466, allocations: 166.2 kB / 425.9 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.4662, allocations: 48 kB / 425.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003022/0.4665, allocations: 455.9 kB / 426.4 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/0.468, allocations: 0.9106 MB / 427.3 MB, free: 11.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.4704, allocations: 2.275 MB / 429.6 MB, free: 8.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.4726, allocations: 1.435 MB / 431 MB, free: 7.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.252e-05/0.4726, allocations: 16 kB / 431 MB, free: 7.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.00545/0.4781, allocations: 3.191 MB / 434.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.4781, allocations: 24 kB / 434.2 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.37e-05/0.4782, allocations: 48 kB / 434.3 MB, free: 4.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-05/0.4783, allocations: 72.81 kB / 434.4 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.4801, allocations: 0.5888 MB / 434.9 MB, free: 3.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-05/0.4802, allocations: 99.66 kB / 435 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/0.4823, allocations: 404.2 kB / 435.4 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/0.4825, allocations: 148 kB / 435.6 MB, free: 2.895 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.002525/0.485, allocations: 1.558 MB / 437.1 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.4853, allocations: 142.2 kB / 437.3 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.4864, allocations: 0.7069 MB / 438 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005294/0.487, allocations: 414.7 kB / 438.4 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.487, allocations: 4 kB / 438.4 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.487, allocations: 0 / 438.4 MB, free: 24 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007083/0.4941, allocations: 4.073 MB / 442.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.4941, allocations: 4.094 kB / 442.5 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.4944, allocations: 59.78 kB / 442.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/0.4945, allocations: 11.95 kB / 442.5 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.053e-05/0.4945, allocations: 15.98 kB / 442.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.4945, allocations: 8 kB / 442.6 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.4945, allocations: 7.938 kB / 442.6 MB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.4959, allocations: 1.029 MB / 443.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005601/0.4965, allocations: 295.1 kB / 443.9 MB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/0.4967, allocations: 15.98 kB / 443.9 MB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006009/0.4973, allocations: 43.94 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.4974, allocations: 27.88 kB / 444 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.4975, allocations: 24.05 kB / 444 MB, free: 10.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001892/0.4993, allocations: 1.312 MB / 445.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4994, allocations: 0 / 445.3 MB, free: 8.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002827/0.5022, allocations: 0.9285 MB / 446.2 MB, free: 7.922 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.0003579/0.5026, allocations: 159.1 kB / 446.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003016/0.5056, allocations: 1.743 MB / 448.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.5056, allocations: 0 / 448.1 MB, free: 6.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003292/0.5059, allocations: 230.1 kB / 448.4 MB, free: 5.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.5075, allocations: 289.5 kB / 448.6 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2018/0.7094, allocations: 7.38 MB / 456 MB, free: 107.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/0.7121, allocations: 2.897 MB / 458.9 MB, free: 106.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002156/0.7143, allocations: 0.7726 MB / 459.7 MB, free: 106.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.7146, allocations: 109.5 kB / 459.8 MB, free: 106.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.793e-06/0.7146, allocations: 0 / 459.8 MB, free: 106.7 MB / 382.1 MB Notification: Performance of Templates: time 0.02819/0.7428, allocations: 16.62 MB / 476.4 MB, free: 96.72 MB / 382.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)