Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.007276/0.007276, allocations: 100.2 kB / 15.73 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.00135/0.00135, allocations: 186.9 kB / 16.67 MB, free: 5.965 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.476/1.476, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001381/0.001381, allocations: 51.14 kB / 328 MB, free: 13.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1231, allocations: 46.62 MB / 374.6 MB, free: 24 kB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.05476/0.1779, allocations: 49.51 MB / 424.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0391/0.217, allocations: 12.93 MB / 437 MB, free: 1.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01494/0.232, allocations: 322.9 kB / 437.4 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03627/0.2684, allocations: 13.94 MB / 451.3 MB, free: 3.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3208/0.5892, allocations: 5.577 MB / 456.9 MB, free: 6.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01284/0.6021, allocations: 3.293 MB / 460.2 MB, free: 6.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04036/0.6425, allocations: 24.41 MB / 484.6 MB, free: 5.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09565/0.7382, allocations: 47.37 MB / 0.5195 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02885/0.7671, allocations: 12.71 MB / 0.5319 GB, free: 6.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03249/0.7996, allocations: 13.92 MB / 0.5455 GB, free: 9.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01425/0.8139, allocations: 3.633 MB / 0.549 GB, free: 5.414 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01907/0.833, allocations: 4.115 MB / 0.553 GB, free: 1.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01657/0.8496, allocations: 7.357 MB / 0.5602 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03719/0.8869, allocations: 13.86 MB / 0.5738 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.07369/0.9606, allocations: 48.62 MB / 0.6213 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.9607, allocations: 0 / 0.6213 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.176e-06/0.9607, allocations: 0 / 0.6213 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001724/0.9624, allocations: 0 / 0.6213 GB, free: 12.71 MB / 0.5137 GB 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.5788/1.541, allocations: 27.79 MB / 0.6484 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/1.541, allocations: 8.25 kB / 0.6484 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07981/1.621, allocations: 14.92 MB / 0.663 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03383/1.655, allocations: 13.41 MB / 0.6761 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002567/1.658, allocations: 1.585 MB / 0.6776 GB, free: 138.4 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01092/1.669, allocations: 2.088 MB / 0.6797 GB, free: 136.3 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1004/1.769, allocations: 35.16 MB / 0.714 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001266/1.77, allocations: 36.39 kB / 0.714 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00919/1.78, allocations: 0.8697 MB / 0.7149 GB, free: 100.2 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00116/1.781, allocations: 1.181 MB / 0.716 GB, free: 99.04 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07177/1.853, allocations: 33.01 MB / 0.7483 GB, free: 66 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7809/2.634, allocations: 107.6 MB / 0.8533 GB, free: 134 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04374/2.677, allocations: 55.88 MB / 0.9079 GB, free: 94.84 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01566/2.693, allocations: 9.964 MB / 0.9176 GB, free: 94.68 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05709/2.75, allocations: 27.29 MB / 0.9443 GB, free: 86.97 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/2.75, allocations: 133.2 kB / 0.9444 GB, free: 86.86 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=894): time 1.109e-05/2.75, allocations: 3 kB / 0.9444 GB, free: 86.86 MB / 0.5452 GB Notification: Performance of matching and sorting (n=906): time 0.0836/2.834, allocations: 39.48 MB / 0.983 GB, free: 59.14 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.799e-05/2.834, allocations: 172.4 kB / 0.9831 GB, free: 58.95 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01313/2.847, allocations: 8.51 MB / 0.9914 GB, free: 50.45 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.001853/2.849, allocations: 173.7 kB / 0.9916 GB, free: 50.28 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.004238/2.853, allocations: 8.828 MB / 1 GB, free: 41.39 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.003255/2.857, allocations: 3.065 MB / 1.003 GB, free: 38.35 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004036/2.861, allocations: 2.272 MB / 1.005 GB, free: 36.07 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 4.793e-05/2.861, allocations: 309.1 kB / 1.006 GB, free: 35.76 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008976/2.87, allocations: 6.301 MB / 1.012 GB, free: 29.46 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01518/2.885, allocations: 10.27 MB / 1.022 GB, free: 17.45 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02393/2.909, allocations: 17.63 MB / 1.039 GB, free: 14.01 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/2.909, allocations: 36 kB / 1.039 GB, free: 13.97 MB / 0.5608 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.04882/2.958, allocations: 20.63 MB / 1.059 GB, free: 9.23 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002152/2.958, allocations: 60 kB / 1.059 GB, free: 9.172 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002887/2.959, allocations: 124 kB / 1.059 GB, free: 9.051 MB / 0.5764 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.003114/2.962, allocations: 0.8823 MB / 1.06 GB, free: 8.152 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01155/2.973, allocations: 2.488 MB / 1.063 GB, free: 5.66 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2967/3.27, allocations: 12.46 MB / 1.075 GB, free: 176.9 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/3.28, allocations: 0.6227 MB / 1.076 GB, free: 176.9 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002598/3.283, allocations: 0.5358 MB / 1.076 GB, free: 176.9 MB / 0.5764 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.01624/3.299, allocations: 7.981 MB / 1.084 GB, free: 174.2 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002834/3.302, allocations: 0.9175 MB / 1.085 GB, free: 174.2 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03015/3.332, allocations: 17.07 MB / 1.101 GB, free: 167.3 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.327e-05/3.332, allocations: 91.69 kB / 1.102 GB, free: 167.3 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.926e-05/3.333, allocations: 42.69 kB / 1.102 GB, free: 167.3 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001942/3.333, allocations: 46.22 kB / 1.102 GB, free: 167.3 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07482/3.408, allocations: 35.96 MB / 1.137 GB, free: 153.1 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.479e-05/3.408, allocations: 6.062 kB / 1.137 GB, free: 153.1 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006589/3.414, allocations: 1.429 MB / 1.138 GB, free: 152.9 MB / 0.5764 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.002773/3.417, allocations: 0.9231 MB / 1.139 GB, free: 152.7 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001888/3.419, allocations: 209.1 kB / 1.139 GB, free: 152.6 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/3.432, allocations: 17.04 MB / 1.156 GB, free: 138.9 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/3.432, allocations: 11.56 kB / 1.156 GB, free: 138.9 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04261/3.475, allocations: 24.82 MB / 1.18 GB, free: 115.4 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007241/3.482, allocations: 2.255 MB / 1.182 GB, free: 113.6 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004273/3.486, allocations: 179.9 kB / 1.182 GB, free: 113.5 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007537/3.494, allocations: 491.5 kB / 1.183 GB, free: 113 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002756/3.497, allocations: 0.7952 MB / 1.184 GB, free: 112.2 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001544/3.498, allocations: 260 kB / 1.184 GB, free: 111.9 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01032/3.509, allocations: 5.774 MB / 1.19 GB, free: 106.2 MB / 0.5764 GB Notification: Performance of sort global known variables: time 6.41e-07/3.509, allocations: 4 kB / 1.19 GB, free: 106.2 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01651/3.525, allocations: 3.498 MB / 1.193 GB, free: 102.7 MB / 0.5764 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.003477/3.529, allocations: 475.2 kB / 1.193 GB, free: 102.2 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.02558/3.554, allocations: 16.28 MB / 1.209 GB, free: 85.86 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/3.554, allocations: 4 kB / 1.209 GB, free: 85.86 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.01343/3.568, allocations: 8.75 MB / 1.218 GB, free: 77.02 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01553/3.583, allocations: 2.557 MB / 1.22 GB, free: 74.46 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07034/3.654, allocations: 38.42 MB / 1.258 GB, free: 35.98 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02409/3.678, allocations: 13.21 MB / 1.271 GB, free: 22.73 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.01327/3.691, allocations: 4.022 MB / 1.275 GB, free: 18.7 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004243/3.696, allocations: 0.6711 MB / 1.275 GB, free: 18.02 MB / 0.5764 GB Notification: Performance of SimCode: time 7.02e-07/3.696, allocations: 4 kB / 1.275 GB, free: 18.02 MB / 0.5764 GB Notification: Performance of Templates: time 0.4988/4.194, allocations: 146.7 MB / 1.419 GB, free: 71.7 MB / 0.5764 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)