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.0009579/0.000958, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00131/0.00131, allocations: 172.7 kB / 15.95 MB, free: 208 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.63/1.63, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.000464/0.000464, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2696, allocations: 47.58 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005892/0.2755, allocations: 5.108 MB / 331.6 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003587/0.2792, allocations: 2.017 MB / 333.6 MB, free: 11.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004956/0.2797, allocations: 32.03 kB / 333.6 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007616/0.2804, allocations: 305.1 kB / 333.9 MB, free: 11.49 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00111/0.2816, allocations: 485.2 kB / 334.4 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.2819, allocations: 144.7 kB / 334.5 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00248/0.2844, allocations: 2.334 MB / 336.9 MB, free: 9.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001618/0.286, allocations: 1.326 MB / 338.2 MB, free: 7.715 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.288, allocations: 0.7706 MB / 339 MB, free: 6.941 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.29, allocations: 0.9767 MB / 340 MB, free: 5.961 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.2902, allocations: 128 kB / 340.1 MB, free: 5.836 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005465/0.2907, allocations: 183.9 kB / 340.3 MB, free: 5.656 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004955/0.2912, allocations: 0.5217 MB / 340.8 MB, free: 5.133 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000597/0.2918, allocations: 440.7 kB / 341.2 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003064/0.2949, allocations: 3.087 MB / 344.3 MB, free: 1.602 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.2949, allocations: 4 kB / 344.3 MB, free: 1.598 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.2949, allocations: 4 kB / 344.3 MB, free: 1.594 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.671e-05/0.295, allocations: 0 / 344.3 MB, free: 1.594 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.003795/0.2988, allocations: 2.03 MB / 346.3 MB, free: 15.51 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.2989, allocations: 8.031 kB / 346.3 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006077/0.2995, allocations: 245.4 kB / 346.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.3013, allocations: 1.2 MB / 347.8 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.3014, allocations: 135.5 kB / 347.9 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002468/0.3017, allocations: 172 kB / 348.1 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00405/0.3058, allocations: 2.539 MB / 350.6 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.3058, allocations: 0 / 350.6 MB, free: 11.15 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.306, allocations: 75.94 kB / 350.7 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.3061, allocations: 99.58 kB / 350.8 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003424/0.3095, allocations: 2.103 MB / 352.9 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01044/0.32, allocations: 7.504 MB / 360.4 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.3215, allocations: 1.267 MB / 361.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.3222, allocations: 483 kB / 362.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002297/0.3224, allocations: 117.5 kB / 362.3 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3225, allocations: 43 kB / 362.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.835e-06/0.3225, allocations: 0 / 362.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004177/0.3267, allocations: 2.292 MB / 364.6 MB, free: 12.69 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.3267, allocations: 81.55 kB / 364.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.3289, allocations: 1.504 MB / 366.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.329, allocations: 37.7 kB / 366.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000848/0.3298, allocations: 0.971 MB / 367.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.33, allocations: 189.4 kB / 367.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.3301, allocations: 28 kB / 367.4 MB, free: 9.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.3303, allocations: 357.9 kB / 367.7 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008432/0.3311, allocations: 466.3 kB / 368.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.3323, allocations: 1.091 MB / 369.3 MB, free: 7.617 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.3334, allocations: 0.676 MB / 370 MB, free: 6.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.3334, allocations: 8 kB / 370 MB, free: 6.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002944/0.3364, allocations: 1.691 MB / 371.7 MB, free: 5.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.3364, allocations: 16 kB / 371.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.54e-05/0.3365, allocations: 24 kB / 371.7 MB, free: 5.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000746/0.3372, allocations: 181.1 kB / 371.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/0.3381, allocations: 283.5 kB / 372.2 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.3404, allocations: 2.158 MB / 374.3 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009737/0.3414, allocations: 95.62 kB / 374.4 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/0.3415, allocations: 68 kB / 374.5 MB, free: 2.285 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.001061/0.3426, allocations: 0.7039 MB / 375.2 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.3428, allocations: 130.5 kB / 375.3 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.3443, allocations: 0.8529 MB / 376.2 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3443, allocations: 4 kB / 376.2 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.3443, allocations: 4 kB / 376.2 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3443, allocations: 3.938 kB / 376.2 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004035/0.3484, allocations: 2.518 MB / 378.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-05/0.3484, allocations: 4 kB / 378.7 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.3488, allocations: 108.1 kB / 378.8 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006125/0.3494, allocations: 148.7 kB / 378.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.3495, allocations: 16 kB / 379 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.3515, allocations: 2.092 MB / 381 MB, free: 11.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3516, allocations: 8.031 kB / 381.1 MB, free: 11.44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.3535, allocations: 1.336 MB / 382.4 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/0.354, allocations: 291.5 kB / 382.7 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/0.3542, allocations: 12 kB / 382.7 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/0.3548, allocations: 52.03 kB / 382.7 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.3549, allocations: 51.83 kB / 382.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/0.355, allocations: 23.98 kB / 382.8 MB, free: 9.609 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.3565, allocations: 1.024 MB / 383.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3565, allocations: 0 / 383.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001535/0.3581, allocations: 356 kB / 384.2 MB, free: 8.234 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.000402/0.3585, allocations: 134.1 kB / 384.3 MB, free: 8.094 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.3605, allocations: 1.163 MB / 385.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.3605, allocations: 5.875 kB / 385.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008461/0.3613, allocations: 0.5067 MB / 386 MB, free: 6.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.3629, allocations: 360.5 kB / 386.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006234/0.3691, allocations: 3.792 MB / 390.1 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.3708, allocations: 1.706 MB / 391.8 MB, free: 452 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009863/0.3718, allocations: 319.3 kB / 392.2 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.372, allocations: 91.42 kB / 392.2 MB, free: 40 kB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.372, allocations: 0 / 392.2 MB, free: 40 kB / 318.1 MB Notification: Performance of Templates: time 0.03166/0.4037, allocations: 17.15 MB / 409.4 MB, free: 14.86 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)