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.00582/0.00582, allocations: 99.52 kB / 15.73 MB, free: 6.039 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.001315/0.001315, allocations: 198.1 kB / 16.67 MB, free: 5.965 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.447/1.447, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001227/0.001227, allocations: 50.33 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08937, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.01024/0.09964, allocations: 9.708 MB / 382.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005988/0.1057, allocations: 2.745 MB / 385.6 MB, free: 4.812 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.1073, allocations: 55.88 kB / 385.7 MB, free: 4.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008176/0.1155, allocations: 3.761 MB / 389.4 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003487/0.119, allocations: 1.072 MB / 390.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.1208, allocations: 0.8062 MB / 391.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003956/0.1248, allocations: 3.906 MB / 395.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0104/0.1352, allocations: 9.557 MB / 404.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.1382, allocations: 2.213 MB / 407 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003467/0.1417, allocations: 2.546 MB / 409.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008273/0.1426, allocations: 0.6055 MB / 410.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.1443, allocations: 0.8161 MB / 411 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009476/0.1453, allocations: 1.196 MB / 412.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002861/0.1481, allocations: 2.428 MB / 414.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006926/0.1551, allocations: 8.149 MB / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.1551, allocations: 4 kB / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1551, allocations: 0 / 422.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002111/0.1553, allocations: 0 / 422.7 MB, free: 15.52 MB / 366.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.01186/0.1672, allocations: 5.258 MB / 428 MB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1673, allocations: 12.03 kB / 428 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/0.1831, allocations: 2.589 MB / 430.6 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004331/0.1874, allocations: 2.163 MB / 432.8 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.1877, allocations: 345 kB / 433.1 MB, free: 5.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008033/0.1885, allocations: 440 kB / 433.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01026/0.1988, allocations: 6.107 MB / 439.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.75e-05/0.1989, allocations: 7.953 kB / 439.6 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000418/0.1993, allocations: 184 kB / 439.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001809/0.1995, allocations: 213.3 kB / 440 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009972/0.2095, allocations: 5.779 MB / 445.8 MB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2269/0.4364, allocations: 21.21 MB / 467 MB, free: 56.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006934/0.4433, allocations: 8.936 MB / 476 MB, free: 48.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/0.4449, allocations: 0.9811 MB / 476.9 MB, free: 48.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004722/0.4496, allocations: 3.563 MB / 480.5 MB, free: 45.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.4496, allocations: 37.52 kB / 480.5 MB, free: 45.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.4497, allocations: 1.5 kB / 480.5 MB, free: 45.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009212/0.4506, allocations: 0.6559 MB / 481.2 MB, free: 44.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.659e-05/0.4506, allocations: 55.38 kB / 481.3 MB, free: 44.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.4529, allocations: 1.991 MB / 483.2 MB, free: 43.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.453, allocations: 29.7 kB / 483.3 MB, free: 43.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008804/0.4539, allocations: 2.276 MB / 485.6 MB, free: 41.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.292e-05/0.454, allocations: 138.9 kB / 485.7 MB, free: 41.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005789/0.4546, allocations: 0.5597 MB / 486.2 MB, free: 41.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.4546, allocations: 345.8 kB / 486.6 MB, free: 41.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.4557, allocations: 0.8702 MB / 487.5 MB, free: 40.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001531/0.4573, allocations: 2.251 MB / 489.7 MB, free: 38.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.4594, allocations: 3.064 MB / 492.8 MB, free: 35.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/0.4595, allocations: 15.53 kB / 492.8 MB, free: 35.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.003641/0.4631, allocations: 3.131 MB / 495.9 MB, free: 33.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.4631, allocations: 31.94 kB / 495.9 MB, free: 33.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/0.4632, allocations: 53.92 kB / 496 MB, free: 33.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.721e-05/0.4632, allocations: 73.22 kB / 496.1 MB, free: 33.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001464/0.4647, allocations: 0.5918 MB / 496.7 MB, free: 33.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.085e-05/0.4648, allocations: 100 kB / 496.8 MB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.4667, allocations: 407.4 kB / 497.2 MB, free: 33.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/0.4668, allocations: 143.3 kB / 497.3 MB, free: 33.41 MB / 382.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.002252/0.4691, allocations: 1.562 MB / 498.9 MB, free: 32.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/0.4693, allocations: 138.6 kB / 499 MB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007585/0.4701, allocations: 0.6108 MB / 499.6 MB, free: 31.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003201/0.4704, allocations: 320.7 kB / 499.9 MB, free: 31.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4704, allocations: 7.172 kB / 499.9 MB, free: 31.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4704, allocations: 7.797 kB / 499.9 MB, free: 31.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004926/0.4753, allocations: 3.961 MB / 0.4921 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.4754, allocations: 8.094 kB / 0.4921 GB, free: 28.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.4756, allocations: 55.91 kB / 0.4921 GB, free: 28.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.4756, allocations: 11.92 kB / 0.4922 GB, free: 28 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4756, allocations: 12 kB / 0.4922 GB, free: 27.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.4756, allocations: 11.94 kB / 0.4922 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.4757, allocations: 7.938 kB / 0.4922 GB, free: 27.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.4765, allocations: 0.8898 MB / 0.4931 GB, free: 27.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.4768, allocations: 266.4 kB / 0.4933 GB, free: 26.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001853/0.477, allocations: 19.89 kB / 0.4933 GB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.4776, allocations: 43.94 kB / 0.4934 GB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.4776, allocations: 27.86 kB / 0.4934 GB, free: 26.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.4777, allocations: 19.98 kB / 0.4934 GB, free: 26.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001532/0.4792, allocations: 1.331 MB / 0.4947 GB, free: 25.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4792, allocations: 4 kB / 0.4947 GB, free: 25.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002465/0.4817, allocations: 0.9415 MB / 0.4956 GB, free: 24.34 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 (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.0002562/0.4819, allocations: 169.2 kB / 0.4958 GB, free: 24.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00208/0.484, allocations: 1.668 MB / 0.4974 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.484, allocations: 0 / 0.4974 GB, free: 22.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.4842, allocations: 179.6 kB / 0.4976 GB, free: 22.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.4857, allocations: 306.3 kB / 0.4979 GB, free: 22.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009917/0.4956, allocations: 6.001 MB / 0.5038 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/0.4985, allocations: 2.898 MB / 0.5066 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001811/0.5003, allocations: 0.7709 MB / 0.5073 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003532/0.5007, allocations: 111.4 kB / 0.5074 GB, free: 12.18 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5007, allocations: 0 / 0.5074 GB, free: 12.18 MB / 382.1 MB Notification: Performance of Templates: time 0.0308/0.5315, allocations: 17.7 MB / 0.5247 GB, free: 10.46 MB / 398.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)