Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001347/0.001347, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001618/0.001618, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0005256/0.0005258, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2966, allocations: 47.6 MB / 326.5 MB, free: 1.594 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005815/0.3025, allocations: 5.1 MB / 331.6 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004509/0.307, allocations: 2.006 MB / 333.6 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.3083, allocations: 31.28 kB / 333.6 MB, free: 11.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.3097, allocations: 309.9 kB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.3119, allocations: 481.7 kB / 334.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.3126, allocations: 148.6 kB / 334.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003396/0.316, allocations: 2.338 MB / 336.9 MB, free: 9.207 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.3183, allocations: 1.326 MB / 338.2 MB, free: 7.852 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002031/0.3203, allocations: 0.7667 MB / 339 MB, free: 7.082 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/0.3226, allocations: 0.9806 MB / 340 MB, free: 6.098 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006763/0.3233, allocations: 131.9 kB / 340.1 MB, free: 5.969 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001253/0.3245, allocations: 179.9 kB / 340.3 MB, free: 5.793 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000884/0.3254, allocations: 0.5179 MB / 340.8 MB, free: 5.273 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001017/0.3265, allocations: 436.7 kB / 341.2 MB, free: 4.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003212/0.3297, allocations: 3.079 MB / 344.3 MB, free: 1.754 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3297, allocations: 0 / 344.3 MB, free: 1.754 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3297, allocations: 4 kB / 344.3 MB, free: 1.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.074e-05/0.3298, allocations: 7.875 kB / 344.3 MB, free: 1.742 MB / 270.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.003679/0.3334, allocations: 2.034 MB / 346.3 MB, free: 15.65 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3335, allocations: 8.031 kB / 346.3 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/0.3341, allocations: 249.4 kB / 346.6 MB, free: 15.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001797/0.336, allocations: 1.204 MB / 347.8 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.717e-05/0.3361, allocations: 135.5 kB / 347.9 MB, free: 14.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/0.3363, allocations: 172 kB / 348.1 MB, free: 13.85 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004161/0.3405, allocations: 2.539 MB / 350.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.3405, allocations: 0 / 350.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.3407, allocations: 79.94 kB / 350.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3408, allocations: 91.58 kB / 350.8 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003787/0.3446, allocations: 2.107 MB / 352.9 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01176/0.3564, allocations: 7.5 MB / 360.4 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.3582, allocations: 1.267 MB / 361.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007824/0.359, allocations: 482.9 kB / 362.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/0.3592, allocations: 121.6 kB / 362.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.3593, allocations: 43 kB / 362.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.364e-06/0.3593, allocations: 0 / 362.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004379/0.3637, allocations: 2.28 MB / 364.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.3638, allocations: 89.53 kB / 364.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002408/0.3662, allocations: 1.5 MB / 366.2 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.3662, allocations: 33.7 kB / 366.2 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007555/0.367, allocations: 0.9827 MB / 367.2 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.3672, allocations: 189.4 kB / 367.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.3672, allocations: 24 kB / 367.4 MB, free: 9.973 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3674, allocations: 357.9 kB / 367.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009392/0.3683, allocations: 462.3 kB / 368.2 MB, free: 9.168 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.3698, allocations: 1.09 MB / 369.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3709, allocations: 0.6838 MB / 370 MB, free: 7.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/0.3709, allocations: 4 kB / 370 MB, free: 7.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002953/0.3739, allocations: 1.687 MB / 371.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.3739, allocations: 16 kB / 371.7 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.822e-05/0.374, allocations: 20 kB / 371.7 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007551/0.3747, allocations: 189.1 kB / 371.9 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008852/0.3756, allocations: 287.6 kB / 372.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.3781, allocations: 2.151 MB / 374.3 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009919/0.3791, allocations: 99.69 kB / 374.4 MB, free: 2.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.3793, allocations: 71.98 kB / 374.5 MB, free: 2.422 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.3804, allocations: 0.7001 MB / 375.2 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.3808, allocations: 130.5 kB / 375.3 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.3824, allocations: 0.8567 MB / 376.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3825, allocations: 4 kB / 376.2 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3825, allocations: 0 / 376.2 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3825, allocations: 7.984 kB / 376.2 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004733/0.3872, allocations: 2.518 MB / 378.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3873, allocations: 0 / 378.7 MB, free: 14.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003658/0.3876, allocations: 104.2 kB / 378.8 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007267/0.3884, allocations: 148.7 kB / 378.9 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/0.3884, allocations: 15.98 kB / 378.9 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.3908, allocations: 2.092 MB / 381 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.3909, allocations: 8.016 kB / 381 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.3932, allocations: 1.332 MB / 382.4 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005395/0.3937, allocations: 287.4 kB / 382.7 MB, free: 9.898 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002239/0.394, allocations: 12 kB / 382.7 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005962/0.3946, allocations: 59.97 kB / 382.7 MB, free: 9.828 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3947, allocations: 55.88 kB / 382.8 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.3947, allocations: 16 kB / 382.8 MB, free: 9.758 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001601/0.3963, allocations: 1.028 MB / 383.8 MB, free: 8.727 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3964, allocations: 0 / 383.8 MB, free: 8.727 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001559/0.3979, allocations: 355.9 kB / 384.2 MB, free: 8.379 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004201/0.3983, allocations: 147 kB / 384.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002054/0.4004, allocations: 1.163 MB / 385.5 MB, free: 7.047 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4004, allocations: 0 / 385.5 MB, free: 7.047 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008491/0.4013, allocations: 0.5161 MB / 386 MB, free: 6.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.403, allocations: 371.2 kB / 386.4 MB, free: 6.156 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006319/0.4093, allocations: 3.772 MB / 390.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/0.411, allocations: 1.694 MB / 391.8 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.412, allocations: 327.3 kB / 392.1 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.4123, allocations: 91.42 kB / 392.2 MB, free: 184 kB / 318.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4123, allocations: 0 / 392.2 MB, free: 184 kB / 318.1 MB Notification: Performance of Templates: time 0.03234/0.4447, allocations: 17.15 MB / 409.4 MB, free: 15 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1)