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.0009244/0.0009243, allocations: 88.16 kB / 16.31 MB, free: 5.555 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.0008865/0.0008866, allocations: 180.9 kB / 17.21 MB, free: 5.473 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.506/1.506, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.000473/0.0004731, allocations: 15.44 kB / 280.2 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 47.57 MB / 327.7 MB, free: 4.07 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009224/0.1158, allocations: 8.319 MB / 336 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006013/0.1218, allocations: 2.501 MB / 338.6 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.123, allocations: 51.88 kB / 338.6 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.1241, allocations: 401.5 kB / 339 MB, free: 8.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002638/0.1268, allocations: 0.8828 MB / 339.9 MB, free: 7.871 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1282, allocations: 0.6431 MB / 340.5 MB, free: 7.227 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004149/0.1324, allocations: 3.622 MB / 344.1 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01339/0.1458, allocations: 8.189 MB / 352.3 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002661/0.1485, allocations: 1.561 MB / 353.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.151, allocations: 1.829 MB / 355.7 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005012/0.1515, allocations: 252 kB / 356 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.1528, allocations: 455.8 kB / 356.4 MB, free: 7.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006733/0.1535, allocations: 0.7279 MB / 357.1 MB, free: 6.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.1545, allocations: 0.8239 MB / 358 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006197/0.1607, allocations: 6.817 MB / 364.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.1607, allocations: 0 / 364.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1608, allocations: 0 / 364.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001324/0.1609, allocations: 0 / 364.8 MB, free: 14.83 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.00982/0.1707, allocations: 4.273 MB / 369.1 MB, free: 10.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.1708, allocations: 16.02 kB / 369.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/0.1853, allocations: 2.578 MB / 371.6 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004287/0.1896, allocations: 2.139 MB / 373.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/0.1899, allocations: 345 kB / 374.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007352/0.1906, allocations: 436 kB / 374.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2181/0.4088, allocations: 6.087 MB / 380.6 MB, free: 44.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.4089, allocations: 2 kB / 380.6 MB, free: 44.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004353/0.4094, allocations: 184.5 kB / 380.8 MB, free: 44.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000254/0.4096, allocations: 214.4 kB / 381 MB, free: 44.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/0.4237, allocations: 5.768 MB / 386.8 MB, free: 42.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03789/0.4616, allocations: 21.47 MB / 408.3 MB, free: 27.97 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008116/0.4698, allocations: 8.965 MB / 417.2 MB, free: 19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.4716, allocations: 1.028 MB / 418.3 MB, free: 18.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005958/0.4776, allocations: 3.678 MB / 421.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.4777, allocations: 42.52 kB / 422 MB, free: 15.03 MB / 318.1 MB Notification: Performance of pre-optimization done (n=34): time 2.705e-06/0.4777, allocations: 0 / 422 MB, free: 15.03 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.001416/0.4791, allocations: 0.7641 MB / 422.7 MB, free: 14.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.4792, allocations: 58.03 kB / 422.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003246/0.4824, allocations: 1.975 MB / 424.8 MB, free: 12.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.4825, allocations: 29.7 kB / 424.8 MB, free: 12.17 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.4837, allocations: 2.18 MB / 427 MB, free: 9.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.4839, allocations: 161.1 kB / 427.1 MB, free: 9.824 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.4841, allocations: 52 kB / 427.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.4843, allocations: 459.9 kB / 427.6 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.486, allocations: 0.895 MB / 428.5 MB, free: 8.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/0.4885, allocations: 2.281 MB / 430.8 MB, free: 5.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.4908, allocations: 1.443 MB / 432.3 MB, free: 4.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-05/0.4909, allocations: 12 kB / 432.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=324) (initialization): time 0.005965/0.4969, allocations: 3.179 MB / 435.4 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/0.4969, allocations: 32.92 kB / 435.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-05/0.497, allocations: 48 kB / 435.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.19e-05/0.4971, allocations: 76 kB / 435.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00224/0.4994, allocations: 0.5888 MB / 436.2 MB, free: 84 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001135/0.4995, allocations: 95.69 kB / 436.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/0.5024, allocations: 404.2 kB / 436.7 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004124/0.5029, allocations: 147.9 kB / 436.8 MB, free: 15.45 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 (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.003028/0.5059, allocations: 1.57 MB / 438.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.5062, allocations: 134.2 kB / 438.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.5075, allocations: 0.7073 MB / 439.2 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005398/0.508, allocations: 414.8 kB / 439.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.508, allocations: 0 / 439.6 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.5081, allocations: 7.922 kB / 439.6 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007108/0.5152, allocations: 4.072 MB / 443.7 MB, free: 8.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.5152, allocations: 8 kB / 443.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.5154, allocations: 55.89 kB / 443.8 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.5155, allocations: 8 kB / 443.8 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.994e-05/0.5155, allocations: 15.94 kB / 443.8 MB, free: 8.266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.5155, allocations: 7.953 kB / 443.8 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.5155, allocations: 11.94 kB / 443.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.5168, allocations: 1.029 MB / 444.9 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005152/0.5173, allocations: 299.1 kB / 445.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.5175, allocations: 12 kB / 445.2 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.5181, allocations: 47.89 kB / 445.2 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.04e-05/0.5182, allocations: 35.92 kB / 445.2 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.5183, allocations: 16 kB / 445.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001941/0.5202, allocations: 1.312 MB / 446.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5202, allocations: 0 / 446.6 MB, free: 5.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002715/0.5229, allocations: 0.9284 MB / 447.5 MB, free: 4.477 MB / 334.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.0002883/0.5232, allocations: 155.6 kB / 447.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00259/0.5258, allocations: 1.743 MB / 449.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5258, allocations: 2 kB / 449.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/0.5262, allocations: 227.5 kB / 449.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/0.5275, allocations: 289.3 kB / 449.9 MB, free: 2.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.5379, allocations: 7.392 MB / 457.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002613/0.5406, allocations: 2.896 MB / 460.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001977/0.5426, allocations: 0.7709 MB / 461 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.5428, allocations: 107.4 kB / 461.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5428, allocations: 0 / 461.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of Templates: time 0.03169/0.5745, allocations: 16.61 MB / 477.7 MB, free: 6.219 MB / 366.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)