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.001055/0.001055, allocations: 88.88 kB / 16.65 MB, free: 6.598 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.001195/0.001195, allocations: 177 kB / 17.56 MB, free: 6.203 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.374/1.374, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.000461/0.000461, allocations: 16 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08456/0.08503, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01263/0.09769, allocations: 13.58 MB / 341.9 MB, free: 6.117 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008187/0.1059, allocations: 3.876 MB / 345.8 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.1077, allocations: 83.75 kB / 345.9 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.1095, allocations: 0.8243 MB / 346.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004336/0.1138, allocations: 1.564 MB / 348.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.1164, allocations: 1.014 MB / 349.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007381/0.1238, allocations: 6.674 MB / 355.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02107/0.1449, allocations: 14.22 MB / 370.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003378/0.1483, allocations: 2.506 MB / 372.7 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003475/0.1518, allocations: 3.194 MB / 375.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005599/0.1523, allocations: 392 kB / 376.2 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.1535, allocations: 0.5662 MB / 376.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009567/0.1545, allocations: 1.261 MB / 378.1 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1675/0.322, allocations: 3.059 MB / 381.1 MB, free: 22.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.3358, allocations: 11.64 MB / 392.8 MB, free: 20.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3359, allocations: 0 / 392.8 MB, free: 20.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.3359, allocations: 0 / 392.8 MB, free: 20.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0004805/0.3364, allocations: 5.219 kB / 392.8 MB, free: 20.5 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.02121/0.3576, allocations: 6.906 MB / 399.7 MB, free: 17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3577, allocations: 11.25 kB / 399.7 MB, free: 17 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03099/0.3887, allocations: 5.105 MB / 404.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007858/0.3966, allocations: 3.554 MB / 408.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/0.397, allocations: 0.5062 MB / 408.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002469/0.3995, allocations: 0.6661 MB / 409.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.4206, allocations: 10.49 MB / 420 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001313/0.4208, allocations: 7.906 kB / 420 MB, free: 7.473 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006553/0.4215, allocations: 282.3 kB / 420.3 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002696/0.4217, allocations: 393.2 kB / 420.7 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.4361, allocations: 9.633 MB / 430.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0459/0.482, allocations: 31.96 MB / 462.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/0.4995, allocations: 22.89 MB / 485.2 MB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.5023, allocations: 1.937 MB / 487.1 MB, free: 396 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009263/0.5116, allocations: 6.234 MB / 493.3 MB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.5117, allocations: 51.47 kB / 493.4 MB, free: 9.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=150): time 3.236e-06/0.5117, allocations: 4 kB / 493.4 MB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=150): time 0.006049/0.5177, allocations: 3.204 MB / 496.6 MB, free: 6.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.5178, allocations: 94.3 kB / 496.7 MB, free: 6.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003556/0.5213, allocations: 2.615 MB / 499.3 MB, free: 3.871 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.647e-05/0.5215, allocations: 49.7 kB / 499.3 MB, free: 3.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.5232, allocations: 3.114 MB / 0.4907 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.5237, allocations: 0.5524 MB / 0.4912 GB, free: 140 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004222/0.5241, allocations: 310.1 kB / 0.4915 GB, free: 15.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.583e-05/0.5242, allocations: 301.1 kB / 0.4918 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/0.5262, allocations: 1.468 MB / 0.4932 GB, free: 14.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00317/0.5294, allocations: 3.262 MB / 0.4964 GB, free: 9.977 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005112/0.5345, allocations: 4.816 MB / 0.5011 GB, free: 4.555 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.24e-05/0.5346, allocations: 16 kB / 0.5011 GB, free: 4.539 MB / 414.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.007516/0.5421, allocations: 5.094 MB / 0.5061 GB, free: 15.8 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.5422, allocations: 32 kB / 0.5062 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.894e-05/0.5422, allocations: 60 kB / 0.5062 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007527/0.543, allocations: 340.6 kB / 0.5065 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002987/0.546, allocations: 0.8806 MB / 0.5074 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/0.551, allocations: 4.65 MB / 0.5119 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/0.554, allocations: 0.5418 MB / 0.5125 GB, free: 9.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002778/0.5543, allocations: 208.2 kB / 0.5127 GB, free: 8.953 MB / 430.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.004042/0.5583, allocations: 2.331 MB / 0.5149 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.5586, allocations: 229.1 kB / 0.5152 GB, free: 6.453 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.5625, allocations: 2.326 MB / 0.5174 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.5625, allocations: 15.94 kB / 0.5174 GB, free: 4.109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5626, allocations: 8 kB / 0.5175 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.5626, allocations: 7.969 kB / 0.5175 GB, free: 4.094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007556/0.5701, allocations: 5.329 MB / 0.5227 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.5702, allocations: 0 / 0.5227 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.5713, allocations: 258.3 kB / 0.5229 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000612/0.5719, allocations: 261.7 kB / 0.5232 GB, free: 14.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-05/0.572, allocations: 31.98 kB / 0.5232 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004543/0.5766, allocations: 4.527 MB / 0.5276 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5766, allocations: 11.75 kB / 0.5276 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/0.5811, allocations: 3.299 MB / 0.5308 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008149/0.5819, allocations: 0.4899 MB / 0.5313 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002323/0.5822, allocations: 31.94 kB / 0.5314 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.5833, allocations: 99.95 kB / 0.5314 GB, free: 5.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.5835, allocations: 101.3 kB / 0.5315 GB, free: 5.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.985e-05/0.5836, allocations: 47.98 kB / 0.5316 GB, free: 5.312 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002531/0.5861, allocations: 1.718 MB / 0.5333 GB, free: 3.578 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5861, allocations: 0 / 0.5333 GB, free: 3.578 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004341/0.5905, allocations: 1.519 MB / 0.5348 GB, free: 2.051 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.0003134/0.5908, allocations: 169.5 kB / 0.5349 GB, free: 1.891 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1838/0.7746, allocations: 3.522 MB / 0.5384 GB, free: 145.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/0.7746, allocations: 0 / 0.5384 GB, free: 145.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.7767, allocations: 1.258 MB / 0.5396 GB, free: 145.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/0.7798, allocations: 465.7 kB / 0.54 GB, free: 145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/0.7969, allocations: 12.8 MB / 0.5525 GB, free: 139.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003344/0.8003, allocations: 4.185 MB / 0.5566 GB, free: 138.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003233/0.8036, allocations: 1.289 MB / 0.5579 GB, free: 138 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004382/0.804, allocations: 183.1 kB / 0.558 GB, free: 138 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.804, allocations: 1.219 kB / 0.558 GB, free: 138 MB / 446.1 MB Notification: Performance of Templates: time 0.04269/0.8467, allocations: 29.41 MB / 0.5868 GB, free: 112.7 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)