Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00165/0.00165, allocations: 107.5 kB / 16.92 MB, free: 6.145 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.001697/0.001697, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.425/1.425, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001203/0.001203, allocations: 55.92 kB / 280 MB, free: 3.145 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09005/0.09127, allocations: 46.63 MB / 326.6 MB, free: 4.445 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01476/0.1061, allocations: 14.6 MB / 341.2 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008857/0.115, allocations: 3.93 MB / 345.2 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.1168, allocations: 83.81 kB / 345.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01148/0.1283, allocations: 5.597 MB / 350.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00609/0.1344, allocations: 1.753 MB / 352.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.1374, allocations: 1.083 MB / 353.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008599/0.146, allocations: 6.702 MB / 360.4 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01804/0.1641, allocations: 13.81 MB / 374.2 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005184/0.1693, allocations: 3.483 MB / 377.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1872/0.3566, allocations: 4.126 MB / 381.8 MB, free: 24.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004072/0.3607, allocations: 0.9138 MB / 382.7 MB, free: 24.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004359/0.3651, allocations: 1.099 MB / 383.8 MB, free: 24.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.368, allocations: 1.931 MB / 385.7 MB, free: 24.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006989/0.375, allocations: 3.797 MB / 389.5 MB, free: 23.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.3874, allocations: 12.3 MB / 401.8 MB, free: 17.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3874, allocations: 0.6875 kB / 401.8 MB, free: 17.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3874, allocations: 0 / 401.8 MB, free: 17.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003744/0.3878, allocations: 0.5 kB / 401.8 MB, free: 17.81 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01958/0.4074, allocations: 8.309 MB / 410.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4074, allocations: 15.08 kB / 410.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02891/0.4363, allocations: 5.072 MB / 415.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007405/0.4438, allocations: 3.544 MB / 418.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.4441, allocations: 0.5113 MB / 419.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/0.4461, allocations: 0.6665 MB / 420 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.4656, allocations: 10.47 MB / 430.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001464/0.4658, allocations: 7.984 kB / 430.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007497/0.4665, allocations: 284.2 kB / 430.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003587/0.4669, allocations: 378.6 kB / 431.1 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01799/0.4849, allocations: 9.641 MB / 440.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05378/0.5387, allocations: 31.85 MB / 472.6 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02046/0.5592, allocations: 22.91 MB / 495.5 MB, free: 7.648 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003185/0.5625, allocations: 1.937 MB / 497.4 MB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.5726, allocations: 6.252 MB / 0.4919 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/0.5727, allocations: 59.5 kB / 0.4919 GB, free: 15.15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=150): time 3.577e-06/0.5727, allocations: 2.812 kB / 0.4919 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=150): time 0.007313/0.58, allocations: 3.175 MB / 0.495 GB, free: 11.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.307e-05/0.5802, allocations: 94.55 kB / 0.4951 GB, free: 11.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004637/0.5848, allocations: 2.618 MB / 0.4977 GB, free: 9.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.585, allocations: 53.7 kB / 0.4977 GB, free: 9.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002268/0.5872, allocations: 3.109 MB / 0.5008 GB, free: 5.996 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006939/0.5879, allocations: 0.5579 MB / 0.5013 GB, free: 5.445 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.5892, allocations: 0.7975 MB / 0.5021 GB, free: 4.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5893, allocations: 301.1 kB / 0.5024 GB, free: 4.344 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00215/0.5915, allocations: 1.464 MB / 0.5038 GB, free: 2.879 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00344/0.5949, allocations: 3.258 MB / 0.507 GB, free: 14.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005435/0.6004, allocations: 4.825 MB / 0.5117 GB, free: 9.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-05/0.6004, allocations: 16 kB / 0.5117 GB, free: 9.355 MB / 430.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007967/0.6084, allocations: 5.09 MB / 0.5167 GB, free: 4.625 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/0.6085, allocations: 35.98 kB / 0.5167 GB, free: 4.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.384e-05/0.6085, allocations: 60 kB / 0.5168 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008299/0.6094, allocations: 344.2 kB / 0.5171 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.6123, allocations: 0.8831 MB / 0.518 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005334/0.6176, allocations: 5.057 MB / 0.5229 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/0.6215, allocations: 0.5417 MB / 0.5234 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004917/0.622, allocations: 216 kB / 0.5236 GB, free: 13.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004469/0.6265, allocations: 2.324 MB / 0.5259 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005112/0.627, allocations: 225.1 kB / 0.5261 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/0.631, allocations: 2.322 MB / 0.5284 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.631, allocations: 16 kB / 0.5284 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.631, allocations: 4 kB / 0.5284 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.631, allocations: 11.97 kB / 0.5284 GB, free: 8.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008683/0.6397, allocations: 5.333 MB / 0.5336 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.6398, allocations: 3.984 kB / 0.5336 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.641, allocations: 258.4 kB / 0.5339 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006472/0.6416, allocations: 261.6 kB / 0.5341 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.6418, allocations: 35.98 kB / 0.5342 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2084/0.8502, allocations: 4.934 MB / 0.539 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8502, allocations: 7.406 kB / 0.539 GB, free: 153.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/0.8553, allocations: 3.303 MB / 0.5422 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/0.8567, allocations: 464.9 kB / 0.5427 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/0.857, allocations: 33 kB / 0.5427 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.8581, allocations: 97.16 kB / 0.5428 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002313/0.8584, allocations: 107.2 kB / 0.5429 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.072e-05/0.8585, allocations: 43.41 kB / 0.5429 GB, free: 153.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002601/0.8611, allocations: 1.719 MB / 0.5446 GB, free: 152.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8611, allocations: 0 / 0.5446 GB, free: 152.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004736/0.8658, allocations: 1.523 MB / 0.5461 GB, free: 152.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003714/0.8662, allocations: 167.1 kB / 0.5462 GB, free: 152.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006676/0.8729, allocations: 3.817 MB / 0.55 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8729, allocations: 0 / 0.55 GB, free: 150.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.8747, allocations: 1.265 MB / 0.5512 GB, free: 150.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/0.8775, allocations: 495.8 kB / 0.5517 GB, free: 150 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/0.8949, allocations: 9.995 MB / 0.5614 GB, free: 145.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003898/0.8989, allocations: 4.178 MB / 0.5655 GB, free: 144 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003368/0.9023, allocations: 1.284 MB / 0.5668 GB, free: 143.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.9027, allocations: 188.6 kB / 0.567 GB, free: 143.8 MB / 446.1 MB Notification: Performance of SimCode: time 8.01e-07/0.9027, allocations: 0 / 0.567 GB, free: 143.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04928/0.952, allocations: 30.85 MB / 0.5971 GB, free: 116.8 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1)