Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001162/0.001162, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001352/0.001353, allocations: 188.2 kB / 16.25 MB, free: 6.625 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.955/1.955, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001695/0.001695, allocations: 52.25 kB / 278.2 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3342, allocations: 46.64 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.01019/0.3445, allocations: 5.835 MB / 330.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006358/0.3509, allocations: 2.099 MB / 332.8 MB, free: 11.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.3523, allocations: 32.22 kB / 332.8 MB, free: 11.6 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.3538, allocations: 332.6 kB / 333.1 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002624/0.3565, allocations: 0.5043 MB / 333.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.3572, allocations: 208.7 kB / 333.9 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003526/0.3607, allocations: 2.275 MB / 336.1 MB, free: 8.789 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002971/0.3637, allocations: 1.887 MB / 338 MB, free: 6.863 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004047/0.3678, allocations: 1.056 MB / 339.1 MB, free: 5.809 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.37, allocations: 1.238 MB / 340.3 MB, free: 4.566 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.3705, allocations: 288 kB / 340.6 MB, free: 4.285 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009507/0.3715, allocations: 375.8 kB / 341 MB, free: 3.918 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007867/0.3723, allocations: 0.7168 MB / 341.7 MB, free: 3.199 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.374, allocations: 1.225 MB / 342.9 MB, free: 1.969 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004333/0.3783, allocations: 3.751 MB / 346.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3783, allocations: 0 / 346.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3784, allocations: 0 / 346.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.254e-05/0.3784, allocations: 0 / 346.7 MB, free: 14.21 MB / 286.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.005834/0.3843, allocations: 2.373 MB / 349 MB, free: 11.78 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3843, allocations: 8.031 kB / 349 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009676/0.3853, allocations: 254.3 kB / 349.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002508/0.3878, allocations: 1.224 MB / 350.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.388, allocations: 139.5 kB / 350.6 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/0.3883, allocations: 175.9 kB / 350.8 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005671/0.394, allocations: 2.539 MB / 353.4 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.694e-05/0.3941, allocations: 0 / 353.4 MB, free: 7.379 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.3943, allocations: 75.98 kB / 353.4 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001521/0.3945, allocations: 95.58 kB / 353.5 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004668/0.3992, allocations: 2.114 MB / 355.6 MB, free: 5.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/0.4139, allocations: 7.449 MB / 363.1 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.4159, allocations: 1.259 MB / 364.3 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009451/0.4169, allocations: 475 kB / 364.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.4172, allocations: 117.5 kB / 364.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.4172, allocations: 39 kB / 365 MB, free: 11.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 3.907e-06/0.4172, allocations: 0 / 365 MB, free: 11.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.00611/0.4234, allocations: 2.265 MB / 367.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.267e-05/0.4235, allocations: 81.55 kB / 367.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/0.4265, allocations: 1.508 MB / 368.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.4266, allocations: 37.7 kB / 368.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009608/0.4276, allocations: 0.9672 MB / 369.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.4278, allocations: 197.5 kB / 370 MB, free: 6.176 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004541/0.4283, allocations: 246.5 kB / 370.2 MB, free: 5.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.4285, allocations: 361.9 kB / 370.6 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009621/0.4295, allocations: 462.2 kB / 371.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/0.4312, allocations: 1.094 MB / 372.1 MB, free: 3.707 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002705/0.4339, allocations: 1.615 MB / 373.8 MB, free: 1.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/0.4339, allocations: 8 kB / 373.8 MB, free: 1.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003771/0.4377, allocations: 1.683 MB / 375.5 MB, free: 80 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.367e-05/0.4378, allocations: 16.59 kB / 375.5 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-05/0.4378, allocations: 27.94 kB / 375.5 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009997/0.4388, allocations: 180.7 kB / 375.7 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.4401, allocations: 287.5 kB / 376 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003251/0.4433, allocations: 2.369 MB / 378.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/0.4449, allocations: 83.67 kB / 378.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.4451, allocations: 64 kB / 378.5 MB, free: 12.91 MB / 318.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.001577/0.4467, allocations: 0.7118 MB / 379.2 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.4471, allocations: 130.4 kB / 379.3 MB, free: 12.06 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.449, allocations: 0.8334 MB / 380.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.449, allocations: 8 kB / 380.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.449, allocations: 0 / 380.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.4491, allocations: 7.984 kB / 380.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005122/0.4542, allocations: 2.517 MB / 382.7 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.4542, allocations: 0 / 382.7 MB, free: 8.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.4548, allocations: 95.89 kB / 382.8 MB, free: 8.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008295/0.4556, allocations: 157.1 kB / 382.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.801e-05/0.4557, allocations: 16 kB / 382.9 MB, free: 8.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/0.4586, allocations: 2.302 MB / 385.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/0.4586, allocations: 8.031 kB / 385.2 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002695/0.4613, allocations: 1.316 MB / 386.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007499/0.4621, allocations: 283.6 kB / 386.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.4623, allocations: 16 kB / 386.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008075/0.4631, allocations: 43.97 kB / 386.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.4633, allocations: 47.88 kB / 386.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.564e-05/0.4633, allocations: 23.98 kB / 387 MB, free: 4.086 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002031/0.4654, allocations: 1.032 MB / 388 MB, free: 3.051 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4654, allocations: 7.875 kB / 388 MB, free: 3.043 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002066/0.4674, allocations: 352 kB / 388.4 MB, free: 2.699 MB / 318.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.0005756/0.468, allocations: 186.2 kB / 388.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002989/0.471, allocations: 1.247 MB / 389.8 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.4711, allocations: 3.938 kB / 389.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.4721, allocations: 0.5107 MB / 390.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/0.4746, allocations: 380.6 kB / 390.7 MB, free: 360 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008309/0.4829, allocations: 3.93 MB / 394.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/0.485, allocations: 1.702 MB / 396.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001732/0.4867, allocations: 319.3 kB / 396.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.487, allocations: 91.42 kB / 396.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of SimCode: time 2.465e-06/0.487, allocations: 0 / 396.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of Templates: time 0.05007/0.5371, allocations: 18.45 MB / 415.1 MB, free: 7.73 MB / 350.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)