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.001363/0.001363, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.002089, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.601/1.601, allocations: 205.1 MB / 222.4 MB, free: 4.402 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.001285/0.001286, allocations: 51.94 kB / 278.7 MB, free: 12.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2212, allocations: 46.63 MB / 325.3 MB, free: 2.051 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007466/0.2287, allocations: 5.855 MB / 331.2 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004798/0.2336, allocations: 2.115 MB / 333.3 MB, free: 11.67 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.2348, allocations: 37.41 kB / 333.3 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001395/0.2363, allocations: 396.4 kB / 333.7 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.2386, allocations: 0.5457 MB / 334.3 MB, free: 10.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000748/0.2394, allocations: 227.3 kB / 334.5 MB, free: 10.69 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002883/0.2423, allocations: 2.274 MB / 336.8 MB, free: 8.418 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002428/0.2447, allocations: 1.891 MB / 338.6 MB, free: 6.488 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.2471, allocations: 1.049 MB / 339.7 MB, free: 5.441 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.2491, allocations: 1.207 MB / 340.9 MB, free: 4.23 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007118/0.2498, allocations: 288 kB / 341.2 MB, free: 3.949 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.251, allocations: 371.8 kB / 341.5 MB, free: 3.586 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006931/0.2517, allocations: 0.709 MB / 342.3 MB, free: 2.875 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.2533, allocations: 1.221 MB / 343.5 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00403/0.2573, allocations: 3.75 MB / 347.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.2574, allocations: 0 / 347.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.2574, allocations: 4 kB / 347.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.677e-05/0.2575, allocations: 0 / 347.2 MB, free: 13.88 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.00511/0.2626, allocations: 2.369 MB / 349.6 MB, free: 11.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.2627, allocations: 12.03 kB / 349.6 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007315/0.2634, allocations: 250.3 kB / 349.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.2655, allocations: 1.22 MB / 351.1 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.2656, allocations: 143.5 kB / 351.2 MB, free: 9.793 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.2659, allocations: 172 kB / 351.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004417/0.2703, allocations: 2.551 MB / 353.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.2704, allocations: 0 / 353.9 MB, free: 7.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000188/0.2706, allocations: 68 kB / 354 MB, free: 6.984 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.2707, allocations: 103.6 kB / 354.1 MB, free: 6.883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00348/0.2742, allocations: 2.106 MB / 356.2 MB, free: 4.773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01265/0.2869, allocations: 7.46 MB / 363.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.2887, allocations: 1.251 MB / 364.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/0.2895, allocations: 474.9 kB / 365.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.2897, allocations: 109.5 kB / 365.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.2897, allocations: 43 kB / 365.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.895e-06/0.2898, allocations: 4 kB / 365.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004826/0.2946, allocations: 2.261 MB / 367.8 MB, free: 8.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.2947, allocations: 85.48 kB / 367.9 MB, free: 8.586 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.2969, allocations: 1.508 MB / 369.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.297, allocations: 41.7 kB / 369.4 MB, free: 7.023 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007522/0.2977, allocations: 0.9712 MB / 370.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.2979, allocations: 193.4 kB / 370.6 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.2982, allocations: 242.7 kB / 370.8 MB, free: 5.602 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2984, allocations: 361.8 kB / 371.2 MB, free: 5.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007141/0.2991, allocations: 458.3 kB / 371.6 MB, free: 4.797 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.3003, allocations: 1.09 MB / 372.7 MB, free: 3.391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.3022, allocations: 1.619 MB / 374.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.3022, allocations: 8 kB / 374.3 MB, free: 1.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002815/0.305, allocations: 1.691 MB / 376 MB, free: 15.74 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.3051, allocations: 16 kB / 376.1 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/0.3051, allocations: 24 kB / 376.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006065/0.3057, allocations: 156.9 kB / 376.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008743/0.3066, allocations: 283.5 kB / 376.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.3091, allocations: 2.372 MB / 378.9 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.3102, allocations: 87.67 kB / 379 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.918e-05/0.3103, allocations: 68 kB / 379 MB, free: 12.61 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.001071/0.3114, allocations: 0.7079 MB / 379.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.3116, allocations: 130.6 kB / 379.9 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.313, allocations: 0.8373 MB / 380.7 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3131, allocations: 7.938 kB / 380.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.3131, allocations: 4 kB / 380.7 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.3131, allocations: 3.984 kB / 380.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003848/0.3169, allocations: 2.51 MB / 383.2 MB, free: 8.293 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.317, allocations: 4 kB / 383.2 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.3174, allocations: 91.89 kB / 383.3 MB, free: 8.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/0.3179, allocations: 132.9 kB / 383.5 MB, free: 8.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.3179, allocations: 16 kB / 383.5 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002318/0.3202, allocations: 2.306 MB / 385.8 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.3203, allocations: 4 kB / 385.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.3223, allocations: 1.324 MB / 387.1 MB, free: 4.223 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005609/0.3228, allocations: 283.5 kB / 387.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.323, allocations: 15.94 kB / 387.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.3236, allocations: 52.02 kB / 387.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.3237, allocations: 47.88 kB / 387.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.3238, allocations: 20 kB / 387.5 MB, free: 3.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.00151/0.3253, allocations: 1.036 MB / 388.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.834e-06/0.3253, allocations: 0 / 388.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00154/0.3268, allocations: 355.9 kB / 388.9 MB, free: 2.406 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.0004636/0.3273, allocations: 187 kB / 389.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002394/0.3297, allocations: 1.247 MB / 390.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3297, allocations: 4.062 kB / 390.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008692/0.3306, allocations: 0.5058 MB / 390.8 MB, free: 444 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.3324, allocations: 376.3 kB / 391.2 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006655/0.3391, allocations: 3.204 MB / 394.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/0.3405, allocations: 1.698 MB / 396.1 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001248/0.3418, allocations: 327.2 kB / 396.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002199/0.342, allocations: 87.42 kB / 396.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of SimCode: time 1.313e-06/0.342, allocations: 0 / 396.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of Templates: time 0.03779/0.3798, allocations: 18.56 MB / 415.1 MB, free: 8.055 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)