Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 106.9 kB / 17.06 MB, free: 6.02 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.0019/0.0019, allocations: 191 kB / 18 MB, free: 5.105 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.848/1.848, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001164/0.001164, allocations: 47.94 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1166, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.264/0.3807, allocations: 5.831 MB / 380.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004591/0.3854, allocations: 2.134 MB / 382.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006521/0.3861, allocations: 34.75 kB / 382.5 MB, free: 9.445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.3873, allocations: 396.4 kB / 382.9 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.3891, allocations: 0.5472 MB / 383.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006891/0.3898, allocations: 235.1 kB / 383.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00426/0.3941, allocations: 2.285 MB / 385.9 MB, free: 7.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003221/0.3973, allocations: 1.9 MB / 387.8 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.4002, allocations: 1.042 MB / 388.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002952/0.4032, allocations: 1.211 MB / 390.1 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006072/0.4038, allocations: 287.5 kB / 390.4 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.4048, allocations: 372.3 kB / 390.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.4059, allocations: 0.7094 MB / 391.4 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.4086, allocations: 1.224 MB / 392.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006777/0.4154, allocations: 3.775 MB / 396.4 MB, free: 3.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.4155, allocations: 0 / 396.4 MB, free: 3.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.4155, allocations: 0 / 396.4 MB, free: 3.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000136/0.4157, allocations: 10.59 kB / 396.5 MB, free: 3.465 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.006465/0.4221, allocations: 2.369 MB / 398.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.636e-05/0.4222, allocations: 9.625 kB / 398.8 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009963/0.4232, allocations: 250.3 kB / 399.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002617/0.4259, allocations: 1.243 MB / 400.3 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.426, allocations: 131.5 kB / 400.4 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/0.4263, allocations: 170.3 kB / 400.6 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005314/0.4317, allocations: 2.554 MB / 403.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.4317, allocations: 0 / 403.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.4319, allocations: 71.25 kB / 403.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.4321, allocations: 94.61 kB / 403.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/0.4365, allocations: 2.101 MB / 405.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.4524, allocations: 7.372 MB / 412.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.4542, allocations: 1.268 MB / 414.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007802/0.455, allocations: 478.9 kB / 414.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002859/0.4553, allocations: 117.5 kB / 414.7 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.4554, allocations: 43 kB / 414.7 MB, free: 6.883 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 3.085e-06/0.4554, allocations: 7.938 kB / 414.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.005274/0.4607, allocations: 2.261 MB / 417 MB, free: 4.531 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.4608, allocations: 81.55 kB / 417 MB, free: 4.434 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.4633, allocations: 1.508 MB / 418.6 MB, free: 2.918 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.768e-05/0.4634, allocations: 33.7 kB / 418.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007613/0.4642, allocations: 0.9828 MB / 419.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.4644, allocations: 193.4 kB / 419.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/0.4647, allocations: 238.6 kB / 420 MB, free: 1.453 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.4649, allocations: 361.9 kB / 420.3 MB, free: 1.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007259/0.4657, allocations: 458.3 kB / 420.8 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001348/0.467, allocations: 1.094 MB / 421.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.4693, allocations: 1.619 MB / 423.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.4693, allocations: 8 kB / 423.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003605/0.4729, allocations: 1.687 MB / 425.2 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.473, allocations: 16 kB / 425.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.473, allocations: 20 kB / 425.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007603/0.4738, allocations: 160.8 kB / 425.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/0.4747, allocations: 283.5 kB / 425.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.4772, allocations: 2.361 MB / 428 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.479, allocations: 83.67 kB / 428.1 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.4792, allocations: 64.19 kB / 428.2 MB, free: 8.484 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00164/0.4808, allocations: 0.7118 MB / 428.9 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/0.4812, allocations: 134.3 kB / 429 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/0.4828, allocations: 0.8373 MB / 429.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.4828, allocations: 8 kB / 429.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4829, allocations: 0 / 429.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.4829, allocations: 3.984 kB / 429.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005102/0.488, allocations: 2.498 MB / 432.4 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.488, allocations: 12 kB / 432.4 MB, free: 4.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.4884, allocations: 95.88 kB / 432.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005448/0.489, allocations: 132.8 kB / 432.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.489, allocations: 12 kB / 432.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.4915, allocations: 2.306 MB / 434.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4915, allocations: 80 / 434.9 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.4937, allocations: 1.317 MB / 436.2 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009039/0.4946, allocations: 291.5 kB / 436.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004163/0.4951, allocations: 12 kB / 436.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008758/0.4959, allocations: 47.95 kB / 436.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.4961, allocations: 55.81 kB / 436.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.4961, allocations: 16 kB / 436.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002011/0.4982, allocations: 1.04 MB / 437.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4982, allocations: 0 / 437.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002179/0.5004, allocations: 348.2 kB / 438 MB, free: 14.29 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005737/0.501, allocations: 196.7 kB / 438.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002214/0.5032, allocations: 1.15 MB / 439.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.5032, allocations: 4 kB / 439.4 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008356/0.5041, allocations: 0.5145 MB / 439.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.5062, allocations: 370.6 kB / 440.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006051/0.5123, allocations: 3.156 MB / 443.4 MB, free: 8.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.5141, allocations: 1.698 MB / 445.1 MB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001315/0.5155, allocations: 327.2 kB / 445.4 MB, free: 6.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.5157, allocations: 87.44 kB / 445.5 MB, free: 6.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.629e-06/0.5157, allocations: 0 / 445.5 MB, free: 6.68 MB / 366.1 MB Notification: Performance of Templates: time 0.04521/0.5609, allocations: 18.98 MB / 464.5 MB, free: 3.656 MB / 382.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)