Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 106.1 kB / 17.06 MB, free: 6.027 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.001674/0.001674, allocations: 195 kB / 18 MB, free: 5.105 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.418/1.418, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001439/0.001439, allocations: 47.92 kB / 329.3 MB, free: 1.848 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1184, allocations: 46.62 MB / 375.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.3308/0.4492, allocations: 49.51 MB / 425.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04288/0.4922, allocations: 12.93 MB / 438.4 MB, free: 152 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01904/0.5112, allocations: 326 kB / 438.7 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03698/0.5483, allocations: 13.86 MB / 452.5 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03272/0.581, allocations: 5.463 MB / 458 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01419/0.5952, allocations: 3.297 MB / 461.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04351/0.6388, allocations: 24.4 MB / 485.7 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1063/0.7451, allocations: 46.86 MB / 0.5201 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02997/0.7752, allocations: 12.72 MB / 0.5325 GB, free: 4.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02986/0.8051, allocations: 13.91 MB / 0.5461 GB, free: 6.816 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01755/0.8227, allocations: 3.637 MB / 0.5496 GB, free: 3.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.5418/1.365, allocations: 4.112 MB / 0.5536 GB, free: 68.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01379/1.378, allocations: 7.352 MB / 0.5608 GB, free: 68.23 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04404/1.422, allocations: 13.86 MB / 0.5744 GB, free: 66.41 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.07157/1.494, allocations: 48.63 MB / 0.6218 GB, free: 42.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.494, allocations: 3.719 kB / 0.6219 GB, free: 42.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.883e-06/1.494, allocations: 0.8125 kB / 0.6219 GB, free: 42.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.001804/1.496, allocations: 0 / 0.6219 GB, free: 42.61 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.1334/1.629, allocations: 27.79 MB / 0.649 GB, free: 24.49 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/1.63, allocations: 8.031 kB / 0.649 GB, free: 24.48 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1494/1.779, allocations: 14.92 MB / 0.6636 GB, free: 9.699 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04718/1.826, allocations: 13.4 MB / 0.6767 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001859/1.828, allocations: 1.597 MB / 0.6782 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01034/1.838, allocations: 2.086 MB / 0.6802 GB, free: 9.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09662/1.935, allocations: 35.17 MB / 0.7146 GB, free: 6.004 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001455/1.937, allocations: 27.7 kB / 0.7146 GB, free: 5.977 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008496/1.945, allocations: 0.8634 MB / 0.7155 GB, free: 5.133 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001159/1.946, allocations: 1.189 MB / 0.7166 GB, free: 3.941 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07609/2.022, allocations: 33.01 MB / 0.7489 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5443/2.567, allocations: 107.6 MB / 0.8539 GB, free: 107.7 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0474/2.614, allocations: 55.89 MB / 0.9085 GB, free: 52.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01585/2.63, allocations: 9.962 MB / 0.9182 GB, free: 42.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05652/2.687, allocations: 27.29 MB / 0.9449 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.675e-05/2.687, allocations: 141.8 kB / 0.945 GB, free: 14.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=894): time 1.015e-05/2.687, allocations: 0 / 0.945 GB, free: 14.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=906): time 0.4016/3.088, allocations: 39.47 MB / 0.9836 GB, free: 161.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/3.089, allocations: 174.9 kB / 0.9837 GB, free: 161.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02404/3.113, allocations: 8.502 MB / 0.992 GB, free: 158.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002789/3.115, allocations: 174.1 kB / 0.9922 GB, free: 158.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.01058/3.126, allocations: 8.84 MB / 1.001 GB, free: 151.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.006137/3.132, allocations: 3.055 MB / 1.004 GB, free: 149.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008078/3.14, allocations: 2.269 MB / 1.006 GB, free: 148.2 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/3.14, allocations: 301.1 kB / 1.006 GB, free: 147.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01683/3.157, allocations: 6.303 MB / 1.012 GB, free: 145.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02209/3.179, allocations: 10.26 MB / 1.022 GB, free: 138.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03857/3.218, allocations: 17.63 MB / 1.04 GB, free: 123.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003006/3.218, allocations: 36 kB / 1.04 GB, free: 123.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.04468/3.263, allocations: 20.64 MB / 1.06 GB, free: 105.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/3.263, allocations: 61.41 kB / 1.06 GB, free: 105.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/3.263, allocations: 124 kB / 1.06 GB, free: 105.6 MB / 0.545 GB Notification: Tearing is skipped for strong component 1 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002451/3.266, allocations: 0.8828 MB / 1.061 GB, free: 104.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01017/3.276, allocations: 2.482 MB / 1.063 GB, free: 102.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01013/3.286, allocations: 12.47 MB / 1.076 GB, free: 90.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/3.299, allocations: 0.6125 MB / 1.076 GB, free: 89.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003401/3.303, allocations: 0.541 MB / 1.077 GB, free: 89.47 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStep2QS[3].y,booleanStep2QS[2].y,booleanStep2QS[1].y,booleanStep1QS[3].y,booleanStep1QS[2].y,booleanStep1QS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1269): * Single equations (assignments): 1262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (204,1.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,25,100.0%), (1,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0183/3.321, allocations: 7.982 MB / 1.084 GB, free: 82.67 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002966/3.324, allocations: 0.9144 MB / 1.085 GB, free: 81.75 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02704/3.351, allocations: 17.07 MB / 1.102 GB, free: 66.04 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.787e-05/3.351, allocations: 96 kB / 1.102 GB, free: 65.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.682e-05/3.351, allocations: 40 kB / 1.102 GB, free: 65.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001722/3.351, allocations: 43.83 kB / 1.102 GB, free: 65.87 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07765/3.429, allocations: 35.97 MB / 1.137 GB, free: 29.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.786e-05/3.429, allocations: 4 kB / 1.137 GB, free: 29.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006995/3.436, allocations: 1.436 MB / 1.139 GB, free: 28.4 MB / 0.545 GB Notification: Tearing is skipped for strong component 14 because system size of 204 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.002957/3.439, allocations: 0.9125 MB / 1.14 GB, free: 27.46 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002145/3.441, allocations: 203.9 kB / 1.14 GB, free: 27.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/3.454, allocations: 17.05 MB / 1.156 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/3.454, allocations: 10.8 kB / 1.156 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3431/3.797, allocations: 24.81 MB / 1.181 GB, free: 148.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007968/3.805, allocations: 2.253 MB / 1.183 GB, free: 147.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003148/3.808, allocations: 176 kB / 1.183 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00744/3.816, allocations: 0.4891 MB / 1.184 GB, free: 147.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002195/3.818, allocations: 0.7845 MB / 1.184 GB, free: 147.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007564/3.819, allocations: 261.5 kB / 1.185 GB, free: 147.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01227/3.831, allocations: 5.778 MB / 1.19 GB, free: 145.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.11e-07/3.831, allocations: 0 / 1.19 GB, free: 145.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.02143/3.852, allocations: 3.507 MB / 1.194 GB, free: 144.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (imcQS.inertiaRotor.w,imcQS.rotorCage.port_p.reference.gamma,quadraticLoadTorqueQS.phi,imc.inertiaRotor.w,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (703): * Single equations (assignments): 695 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(204,1.3%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,8,100.0%), (2,26,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002374/3.855, allocations: 471.1 kB / 1.194 GB, free: 144.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02301/3.878, allocations: 16.28 MB / 1.21 GB, free: 138 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/3.878, allocations: 3.938 kB / 1.21 GB, free: 138 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01447/3.892, allocations: 8.753 MB / 1.219 GB, free: 134.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01653/3.909, allocations: 2.561 MB / 1.221 GB, free: 133.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07402/3.983, allocations: 38.44 MB / 1.259 GB, free: 99.45 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02842/4.011, allocations: 13.2 MB / 1.271 GB, free: 89.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01597/4.028, allocations: 4.019 MB / 1.275 GB, free: 86.63 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004211/4.032, allocations: 0.6729 MB / 1.276 GB, free: 85.99 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/4.032, allocations: 0 / 1.276 GB, free: 85.99 MB / 0.545 GB Notification: Performance of Templates: time 0.4861/4.518, allocations: 147.3 MB / 1.42 GB, free: 145.1 MB / 0.5607 GB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)