Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 114.2 kB / 16.63 MB, free: 6.941 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.00104/0.00104, allocations: 197.9 kB / 17.55 MB, free: 6.039 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.395/1.395, allocations: 205.1 MB / 223.4 MB, free: 12.39 MB / 190.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.001128/0.001128, allocations: 43.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09466/0.0958, allocations: 46.63 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02692/0.1228, allocations: 28.98 MB / 355.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01401/0.1368, allocations: 7.325 MB / 362.4 MB, free: 320 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00577/0.1427, allocations: 211.3 kB / 362.7 MB, free: 108 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02735/0.17, allocations: 12.51 MB / 375.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01204/0.1821, allocations: 2.726 MB / 377.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1764/0.3585, allocations: 1.735 MB / 379.6 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02323/0.3817, allocations: 18.78 MB / 398.4 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08734/0.4691, allocations: 53.22 MB / 451.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01906/0.4882, allocations: 10.44 MB / 462.1 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01954/0.5078, allocations: 11.65 MB / 473.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008234/0.5161, allocations: 2.98 MB / 476.7 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01139/0.5275, allocations: 3.231 MB / 479.9 MB, free: 6.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009482/0.537, allocations: 5.788 MB / 485.7 MB, free: 0.957 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02307/0.5601, allocations: 11.23 MB / 496.9 MB, free: 5.816 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04416/0.6043, allocations: 39.46 MB / 0.5238 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6043, allocations: 0 / 0.5238 GB, free: 15.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6043, allocations: 4 kB / 0.5238 GB, free: 15.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001329/0.6057, allocations: 0 / 0.5238 GB, free: 15.05 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.422/1.028, allocations: 22.99 MB / 0.5463 GB, free: 130.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/1.028, allocations: 12.55 kB / 0.5463 GB, free: 130.1 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0893/1.117, allocations: 12.28 MB / 0.5583 GB, free: 127.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/1.138, allocations: 10.53 MB / 0.5686 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/1.139, allocations: 1.395 MB / 0.5699 GB, free: 119.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006345/1.146, allocations: 1.824 MB / 0.5717 GB, free: 119.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07279/1.219, allocations: 30.89 MB / 0.6019 GB, free: 88.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006754/1.219, allocations: 19.84 kB / 0.6019 GB, free: 88.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007617/1.227, allocations: 0.7587 MB / 0.6026 GB, free: 88.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000839/1.228, allocations: 0.9919 MB / 0.6036 GB, free: 87.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05401/1.282, allocations: 27.91 MB / 0.6309 GB, free: 59.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4994/1.781, allocations: 94.36 MB / 0.723 GB, free: 116.8 MB / 478.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03538/1.817, allocations: 53.42 MB / 0.7752 GB, free: 71.8 MB / 478.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00861/1.825, allocations: 5.926 MB / 0.781 GB, free: 71.71 MB / 478.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02341/1.849, allocations: 16.86 MB / 0.7974 GB, free: 68.73 MB / 478.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/1.849, allocations: 79.48 kB / 0.7975 GB, free: 68.69 MB / 478.3 MB Notification: Performance of pre-optimization done (n=439): time 6.532e-06/1.849, allocations: 0 / 0.7975 GB, free: 68.69 MB / 478.3 MB Notification: Performance of matching and sorting (n=439): time 0.0301/1.879, allocations: 13.43 MB / 0.8106 GB, free: 67.91 MB / 478.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/1.879, allocations: 122.8 kB / 0.8107 GB, free: 67.82 MB / 478.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/1.889, allocations: 7.486 MB / 0.8181 GB, free: 64.23 MB / 478.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0006641/1.89, allocations: 96.48 kB / 0.8181 GB, free: 64.15 MB / 478.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004614/1.895, allocations: 8.515 MB / 0.8265 GB, free: 56.73 MB / 478.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/1.896, allocations: 1.596 MB / 0.828 GB, free: 55.39 MB / 478.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003304/1.9, allocations: 2.279 MB / 0.8302 GB, free: 54.09 MB / 478.3 MB Notification: Performance of setup shared object (initialization): time 6.076e-05/1.9, allocations: 301.9 kB / 0.8305 GB, free: 53.79 MB / 478.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005901/1.906, allocations: 4.781 MB / 0.8352 GB, free: 51.26 MB / 478.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009219/1.915, allocations: 10.5 MB / 0.8454 GB, free: 40.81 MB / 478.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/1.93, allocations: 16.14 MB / 0.8612 GB, free: 22.45 MB / 478.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001867/1.93, allocations: 56 kB / 0.8613 GB, free: 22.39 MB / 478.3 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02777/1.958, allocations: 16.17 MB / 0.8771 GB, free: 6.137 MB / 478.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002669/1.958, allocations: 88 kB / 0.8771 GB, free: 6.051 MB / 478.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003302/1.958, allocations: 196 kB / 0.8773 GB, free: 5.859 MB / 478.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005658/1.964, allocations: 1.712 MB / 0.879 GB, free: 4.145 MB / 478.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008504/1.972, allocations: 2.507 MB / 0.8814 GB, free: 1.633 MB / 478.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/1.989, allocations: 11.51 MB / 0.8927 GB, free: 5.984 MB / 494.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009939/1.999, allocations: 1.552 MB / 0.8942 GB, free: 4.418 MB / 494.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00236/2.001, allocations: 0.6054 MB / 0.8948 GB, free: 3.812 MB / 494.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01558/2.017, allocations: 7.403 MB / 0.902 GB, free: 12.39 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001948/2.019, allocations: 0.6287 MB / 0.9026 GB, free: 11.76 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01658/2.035, allocations: 8.25 MB / 0.9107 GB, free: 3.473 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2515/2.287, allocations: 6.648 MB / 0.9172 GB, free: 164.5 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/2.287, allocations: 11.84 kB / 0.9172 GB, free: 164.5 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.341e-05/2.287, allocations: 22.77 kB / 0.9172 GB, free: 164.5 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04537/2.332, allocations: 21.02 MB / 0.9378 GB, free: 158.2 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.678e-05/2.332, allocations: 0 / 0.9378 GB, free: 158.2 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005098/2.338, allocations: 0.7676 MB / 0.9385 GB, free: 158.1 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007969/2.346, allocations: 1.462 MB / 0.9399 GB, free: 157.9 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001096/2.347, allocations: 95 kB / 0.94 GB, free: 157.8 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02269/2.369, allocations: 11.16 MB / 0.9509 GB, free: 151.9 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.175e-06/2.369, allocations: 9.078 kB / 0.9509 GB, free: 151.9 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02899/2.398, allocations: 11.98 MB / 0.9626 GB, free: 147.1 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005828/2.404, allocations: 1.336 MB / 0.9639 GB, free: 146.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002878/2.407, allocations: 75.88 kB / 0.964 GB, free: 146.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006501/2.414, allocations: 303.5 kB / 0.9643 GB, free: 146.2 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001551/2.415, allocations: 299.3 kB / 0.9646 GB, free: 146.2 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009006/2.416, allocations: 124.6 kB / 0.9647 GB, free: 146.1 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.01479/2.431, allocations: 4.928 MB / 0.9695 GB, free: 144.4 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.212e-06/2.431, allocations: 3.391 kB / 0.9695 GB, free: 144.4 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.022/2.453, allocations: 4.185 MB / 0.9736 GB, free: 143.1 MB / 0.4983 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001856/2.455, allocations: 285.2 kB / 0.9739 GB, free: 142.9 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.06511/2.52, allocations: 20.6 MB / 0.994 GB, free: 123.7 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/2.52, allocations: 0.9375 kB / 0.994 GB, free: 123.7 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.009614/2.53, allocations: 4.031 MB / 0.9979 GB, free: 119.7 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01274/2.543, allocations: 1.548 MB / 0.9994 GB, free: 118.2 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.058/2.601, allocations: 37.6 MB / 1.036 GB, free: 80.59 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01956/2.62, allocations: 11.61 MB / 1.047 GB, free: 68.94 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01122/2.632, allocations: 3.977 MB / 1.051 GB, free: 64.95 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/2.634, allocations: 0.4994 MB / 1.052 GB, free: 64.45 MB / 0.4983 GB Notification: Performance of SimCode: time 1.433e-06/2.634, allocations: 4 kB / 1.052 GB, free: 64.45 MB / 0.4983 GB Notification: Performance of Templates: time 0.3725/3.007, allocations: 99.58 MB / 1.149 GB, free: 130.4 MB / 0.4983 GB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)