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.001101/0.001101, allocations: 87.11 kB / 16.31 MB, free: 6.457 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.00132/0.00132, allocations: 181 kB / 17.21 MB, free: 6.328 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.676/1.676, allocations: 205.4 MB / 223.4 MB, free: 5.801 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.0005027/0.0005028, allocations: 8 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2819, allocations: 47.58 MB / 327.7 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006517/0.2885, allocations: 5.109 MB / 332.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005472/0.294, allocations: 2.013 MB / 334.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.2953, allocations: 27.19 kB / 334.9 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.2965, allocations: 310.6 kB / 335.2 MB, free: 11.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001808/0.2983, allocations: 481.2 kB / 335.7 MB, free: 11.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.2988, allocations: 143.7 kB / 335.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002943/0.3017, allocations: 2.345 MB / 338.1 MB, free: 9.105 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.3036, allocations: 1.33 MB / 339.5 MB, free: 7.746 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.3053, allocations: 0.7589 MB / 340.2 MB, free: 6.984 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.3068, allocations: 0.9883 MB / 341.2 MB, free: 5.992 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.307, allocations: 128 kB / 341.3 MB, free: 5.867 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.3075, allocations: 187.9 kB / 341.5 MB, free: 5.684 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004543/0.308, allocations: 0.5139 MB / 342 MB, free: 5.168 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005021/0.3085, allocations: 448.6 kB / 342.5 MB, free: 4.723 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.3111, allocations: 3.079 MB / 345.6 MB, free: 1.637 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3111, allocations: 4 kB / 345.6 MB, free: 1.633 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3112, allocations: 0 / 345.6 MB, free: 1.633 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.034e-05/0.3112, allocations: 0 / 345.6 MB, free: 1.633 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.003682/0.3149, allocations: 2.03 MB / 347.6 MB, free: 15.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.315, allocations: 12.03 kB / 347.6 MB, free: 15.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006187/0.3156, allocations: 245.4 kB / 347.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.3174, allocations: 1.192 MB / 349 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.831e-05/0.3175, allocations: 135.5 kB / 349.2 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.3178, allocations: 176 kB / 349.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00493/0.3227, allocations: 2.535 MB / 351.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.112e-05/0.3228, allocations: 0 / 351.9 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.3229, allocations: 75.95 kB / 351.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.3231, allocations: 103.6 kB / 352 MB, free: 11.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00363/0.3267, allocations: 2.099 MB / 354.1 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0119/0.3386, allocations: 7.512 MB / 361.7 MB, free: 1.156 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/0.3402, allocations: 1.259 MB / 362.9 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.3409, allocations: 482.9 kB / 363.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002159/0.3412, allocations: 117.6 kB / 363.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.3412, allocations: 39 kB / 363.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 3.036e-06/0.3412, allocations: 0 / 363.5 MB, free: 15.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004549/0.3458, allocations: 2.296 MB / 365.8 MB, free: 12.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3458, allocations: 81.55 kB / 365.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.3481, allocations: 1.5 MB / 367.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.575e-05/0.3481, allocations: 33.7 kB / 367.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008431/0.349, allocations: 0.9788 MB / 368.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.3492, allocations: 189.4 kB / 368.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.3492, allocations: 24 kB / 368.6 MB, free: 9.879 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3494, allocations: 357.9 kB / 369 MB, free: 9.523 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.3501, allocations: 462.3 kB / 369.4 MB, free: 9.074 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.3513, allocations: 1.09 MB / 370.5 MB, free: 7.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009824/0.3523, allocations: 0.6838 MB / 371.2 MB, free: 6.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.3523, allocations: 8 kB / 371.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002918/0.3552, allocations: 1.687 MB / 372.9 MB, free: 5.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.3553, allocations: 16.48 kB / 372.9 MB, free: 5.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.3553, allocations: 31.94 kB / 373 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007819/0.3561, allocations: 184.6 kB / 373.1 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009106/0.357, allocations: 283.5 kB / 373.4 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002591/0.3596, allocations: 2.155 MB / 375.6 MB, free: 2.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.3608, allocations: 91.62 kB / 375.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.3609, allocations: 64 kB / 375.7 MB, free: 2.332 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.001334/0.3622, allocations: 0.7118 MB / 376.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000358/0.3626, allocations: 126.5 kB / 376.6 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.3644, allocations: 0.8529 MB / 377.4 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.3644, allocations: 8 kB / 377.4 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3645, allocations: 4 kB / 377.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3645, allocations: 0 / 377.4 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/0.3694, allocations: 2.521 MB / 379.9 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.3694, allocations: 4 kB / 379.9 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.3699, allocations: 104.2 kB / 380 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007212/0.3706, allocations: 152.6 kB / 380.2 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.3707, allocations: 12 kB / 380.2 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.3732, allocations: 2.092 MB / 382.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.3733, allocations: 16.09 kB / 382.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.376, allocations: 1.328 MB / 383.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009137/0.3769, allocations: 279.4 kB / 383.9 MB, free: 9.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003705/0.3773, allocations: 19.98 kB / 383.9 MB, free: 9.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/0.3781, allocations: 52.03 kB / 384 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.3783, allocations: 55.89 kB / 384 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.963e-05/0.3784, allocations: 16 kB / 384.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.002055/0.3805, allocations: 1.028 MB / 385.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.924e-06/0.3805, allocations: 0 / 385.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002163/0.3827, allocations: 351.9 kB / 385.4 MB, free: 8.285 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.0005675/0.3832, allocations: 153.9 kB / 385.6 MB, free: 8.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.386, allocations: 1.153 MB / 386.7 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.386, allocations: 0 / 386.7 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009894/0.387, allocations: 0.5149 MB / 387.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.3894, allocations: 368.8 kB / 387.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008167/0.3976, allocations: 3.776 MB / 391.4 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/0.3994, allocations: 1.702 MB / 393.1 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001113/0.4006, allocations: 331.3 kB / 393.4 MB, free: 168 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.4009, allocations: 87.42 kB / 393.5 MB, free: 84 kB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4009, allocations: 0 / 393.5 MB, free: 84 kB / 318.1 MB Notification: Performance of Templates: time 0.0319/0.4328, allocations: 17.16 MB / 410.6 MB, free: 14.9 MB / 350.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)