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.007877/0.007877, allocations: 101.8 kB / 15.73 MB, free: 6.477 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.001307/0.001307, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.417/1.417, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.001218/0.001218, allocations: 51.16 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09118, allocations: 46.62 MB / 373.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta): time 0.009986/0.1012, allocations: 9.708 MB / 382.9 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0058/0.1071, allocations: 2.749 MB / 385.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.1088, allocations: 59.81 kB / 385.7 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008142/0.1169, allocations: 3.773 MB / 389.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00473/0.1217, allocations: 1.076 MB / 390.5 MB, free: 20 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.1245, allocations: 0.7985 MB / 391.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005502/0.13, allocations: 3.918 MB / 395.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01376/0.1438, allocations: 9.549 MB / 404.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003334/0.1472, allocations: 2.217 MB / 407 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003906/0.1511, allocations: 2.546 MB / 409.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001469/0.1526, allocations: 0.6055 MB / 410.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.155, allocations: 0.8123 MB / 411 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.1566, allocations: 1.2 MB / 412.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002926/0.1595, allocations: 2.428 MB / 414.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007764/0.1673, allocations: 8.129 MB / 422.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.1674, allocations: 0 / 422.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1674, allocations: 0 / 422.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001825/0.1676, allocations: 0 / 422.7 MB, free: 15.66 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.01428/0.1819, allocations: 5.167 MB / 427.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1819, allocations: 15.97 kB / 427.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01581/0.1977, allocations: 2.571 MB / 430.5 MB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004573/0.2024, allocations: 2.158 MB / 432.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.2027, allocations: 341.1 kB / 433 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/0.2039, allocations: 439.9 kB / 433.4 MB, free: 4.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.215, allocations: 6.11 MB / 439.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-05/0.2151, allocations: 0 / 439.5 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004317/0.2156, allocations: 184 kB / 439.7 MB, free: 14.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001989/0.2158, allocations: 217.3 kB / 439.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01002/0.2258, allocations: 5.779 MB / 445.7 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2519/0.4777, allocations: 21.15 MB / 466.8 MB, free: 56.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007001/0.4848, allocations: 8.949 MB / 475.8 MB, free: 48.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.4862, allocations: 0.9726 MB / 476.8 MB, free: 48.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004563/0.4908, allocations: 3.556 MB / 480.3 MB, free: 45.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.4908, allocations: 43.48 kB / 480.4 MB, free: 45.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.214e-06/0.4908, allocations: 0 / 480.4 MB, free: 45.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009298/0.4918, allocations: 0.6408 MB / 481 MB, free: 44.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.4918, allocations: 59.34 kB / 481.1 MB, free: 44.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/0.4939, allocations: 1.985 MB / 483 MB, free: 43.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.4939, allocations: 29.7 kB / 483.1 MB, free: 43.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007575/0.4947, allocations: 2.187 MB / 485.3 MB, free: 41.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.579e-05/0.4948, allocations: 138.4 kB / 485.4 MB, free: 41.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000559/0.4953, allocations: 0.548 MB / 485.9 MB, free: 41.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.4954, allocations: 345.8 kB / 486.3 MB, free: 41.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009874/0.4964, allocations: 0.8761 MB / 487.2 MB, free: 40.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/0.4979, allocations: 2.252 MB / 489.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.5, allocations: 3.064 MB / 492.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.898e-05/0.5001, allocations: 19.7 kB / 492.5 MB, free: 35.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.003656/0.5037, allocations: 3.119 MB / 495.6 MB, free: 33.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.5038, allocations: 27.5 kB / 495.6 MB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/0.5038, allocations: 47.09 kB / 495.7 MB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.481e-05/0.5039, allocations: 70.78 kB / 495.8 MB, free: 33.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.5055, allocations: 0.5885 MB / 496.3 MB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.344e-05/0.5055, allocations: 105.7 kB / 496.4 MB, free: 33.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.5073, allocations: 400.3 kB / 496.8 MB, free: 33.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.5074, allocations: 148.8 kB / 497 MB, free: 33.31 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.001757/0.5092, allocations: 1.561 MB / 498.5 MB, free: 32.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.5094, allocations: 129.6 kB / 498.7 MB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007806/0.5101, allocations: 0.609 MB / 499.3 MB, free: 31.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003211/0.5105, allocations: 317.3 kB / 499.6 MB, free: 31.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.5105, allocations: 11 kB / 499.6 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.5105, allocations: 7.922 kB / 499.6 MB, free: 31.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004778/0.5153, allocations: 3.961 MB / 0.4918 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.5153, allocations: 8.125 kB / 0.4918 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.5156, allocations: 59.89 kB / 0.4918 GB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.5156, allocations: 8 kB / 0.4918 GB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.5156, allocations: 8 kB / 0.4918 GB, free: 28.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/0.5156, allocations: 15.88 kB / 0.4919 GB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5156, allocations: 4 kB / 0.4919 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.5165, allocations: 0.885 MB / 0.4927 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003315/0.5168, allocations: 259.5 kB / 0.493 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.517, allocations: 19.19 kB / 0.493 GB, free: 26.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005623/0.5175, allocations: 43.94 kB / 0.493 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.5176, allocations: 31.84 kB / 0.4931 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.5176, allocations: 16 kB / 0.4931 GB, free: 26.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001366/0.519, allocations: 1.346 MB / 0.4944 GB, free: 25.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.519, allocations: 0 / 0.4944 GB, free: 25.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002328/0.5213, allocations: 0.9245 MB / 0.4953 GB, free: 24.47 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.0002682/0.5216, allocations: 162.8 kB / 0.4955 GB, free: 24.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.5236, allocations: 1.677 MB / 0.4971 GB, free: 22.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.5236, allocations: 0 / 0.4971 GB, free: 22.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.5238, allocations: 179.3 kB / 0.4973 GB, free: 22.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.5252, allocations: 301.2 kB / 0.4975 GB, free: 22.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008544/0.5338, allocations: 5.901 MB / 0.5033 GB, free: 16.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.5358, allocations: 2.889 MB / 0.5061 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00158/0.5373, allocations: 0.7709 MB / 0.5069 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.5376, allocations: 103.4 kB / 0.507 GB, free: 12.43 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5376, allocations: 0 / 0.507 GB, free: 12.43 MB / 382.1 MB Notification: Performance of Templates: time 0.02744/0.565, allocations: 17.71 MB / 0.5243 GB, free: 10.71 MB / 398.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)