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.001165/0.001165, allocations: 108 kB / 15.61 MB, free: 152 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.001196/0.001196, allocations: 196.8 kB / 16.53 MB, free: 6.699 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.379/1.379, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.002035/0.002035, allocations: 55.92 kB / 280.1 MB, free: 10.96 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2435, allocations: 46.63 MB / 326.7 MB, free: 2.324 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04591/0.2895, allocations: 49.5 MB / 376.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03/0.3195, allocations: 12.92 MB / 389.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01265/0.3322, allocations: 322.9 kB / 389.5 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03853/0.3708, allocations: 13.85 MB / 403.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02857/0.3994, allocations: 5.477 MB / 408.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01466/0.4141, allocations: 3.277 MB / 412.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.03683/0.4509, allocations: 24.23 MB / 436.3 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5371/0.9881, allocations: 47.16 MB / 483.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02624/1.014, allocations: 12.64 MB / 496.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02546/1.04, allocations: 13.95 MB / 0.4981 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01369/1.054, allocations: 3.634 MB / 0.5017 GB, free: 5.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01672/1.07, allocations: 4.125 MB / 0.5057 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02164/1.092, allocations: 7.795 MB / 0.5133 GB, free: 0 / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03756/1.13, allocations: 13.94 MB / 0.5269 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0667/1.196, allocations: 48.37 MB / 0.5741 GB, free: 3.824 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/1.196, allocations: 0 / 0.5741 GB, free: 3.824 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.735e-06/1.196, allocations: 0 / 0.5741 GB, free: 3.824 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001831/1.198, allocations: 0 / 0.5741 GB, free: 3.824 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: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.1031/1.301, allocations: 27.85 MB / 0.6013 GB, free: 8.047 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.301, allocations: 12.03 kB / 0.6013 GB, free: 8.035 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08552/1.387, allocations: 14.88 MB / 0.6159 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4331/1.82, allocations: 13.34 MB / 0.6289 GB, free: 161.8 MB / 494.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002412/1.823, allocations: 1.593 MB / 0.6305 GB, free: 161.7 MB / 494.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01082/1.833, allocations: 2.093 MB / 0.6325 GB, free: 161.1 MB / 494.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09365/1.927, allocations: 35.17 MB / 0.6668 GB, free: 146 MB / 494.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001046/1.928, allocations: 29.52 kB / 0.6669 GB, free: 146 MB / 494.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008852/1.937, allocations: 0.8659 MB / 0.6677 GB, free: 145.3 MB / 494.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00116/1.938, allocations: 1.179 MB / 0.6689 GB, free: 145.1 MB / 494.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05984/1.998, allocations: 33 MB / 0.7011 GB, free: 113.1 MB / 494.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1841/2.182, allocations: 109 MB / 0.8075 GB, free: 3.43 MB / 494.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2678/2.45, allocations: 55.88 MB / 0.8621 GB, free: 99.45 MB / 494.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01641/2.466, allocations: 9.942 MB / 0.8718 GB, free: 95.7 MB / 494.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04664/2.513, allocations: 27.37 MB / 0.8985 GB, free: 83.74 MB / 494.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/2.513, allocations: 137.8 kB / 0.8987 GB, free: 83.62 MB / 494.3 MB Notification: Performance of pre-optimization done (n=894): time 1.056e-05/2.513, allocations: 0.7188 kB / 0.8987 GB, free: 83.62 MB / 494.3 MB Notification: Performance of matching and sorting (n=906): time 0.06624/2.58, allocations: 39.49 MB / 0.9372 GB, free: 55.41 MB / 494.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/2.58, allocations: 176.4 kB / 0.9374 GB, free: 55.22 MB / 494.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01234/2.592, allocations: 8.51 MB / 0.9457 GB, free: 46.72 MB / 494.3 MB Notification: Performance of collectPreVariables (initialization): time 0.001767/2.594, allocations: 177.6 kB / 0.9459 GB, free: 46.54 MB / 494.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004062/2.598, allocations: 8.832 MB / 0.9545 GB, free: 37.66 MB / 494.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.003001/2.601, allocations: 3.053 MB / 0.9575 GB, free: 34.63 MB / 494.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004086/2.605, allocations: 2.279 MB / 0.9597 GB, free: 32.34 MB / 494.3 MB Notification: Performance of setup shared object (initialization): time 4.167e-05/2.605, allocations: 305.1 kB / 0.96 GB, free: 32.04 MB / 494.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009601/2.615, allocations: 6.301 MB / 0.9661 GB, free: 25.73 MB / 494.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/2.627, allocations: 10.26 MB / 0.9762 GB, free: 13.72 MB / 494.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02327/2.65, allocations: 17.63 MB / 0.9934 GB, free: 10.29 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/2.651, allocations: 36 kB / 0.9934 GB, free: 10.25 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.2607/2.911, allocations: 20.63 MB / 1.014 GB, free: 140.6 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 9.405e-05/2.911, allocations: 62.12 kB / 1.014 GB, free: 140.6 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002101/2.912, allocations: 122.4 kB / 1.014 GB, free: 140.6 MB / 0.4983 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.002167/2.914, allocations: 0.8721 MB / 1.015 GB, free: 140.5 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009843/2.924, allocations: 2.492 MB / 1.017 GB, free: 140.5 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00946/2.933, allocations: 12.47 MB / 1.029 GB, free: 131.1 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009028/2.942, allocations: 0.6209 MB / 1.03 GB, free: 130.9 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001884/2.944, allocations: 0.5283 MB / 1.03 GB, free: 130.8 MB / 0.4983 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.0123/2.956, allocations: 7.985 MB / 1.038 GB, free: 127 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002211/2.959, allocations: 0.9173 MB / 1.039 GB, free: 127 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02795/2.987, allocations: 17.08 MB / 1.056 GB, free: 120.1 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.848e-05/2.987, allocations: 93.66 kB / 1.056 GB, free: 120.1 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001055/2.987, allocations: 38.28 kB / 1.056 GB, free: 120.1 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002214/2.987, allocations: 46.41 kB / 1.056 GB, free: 120.1 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07104/3.058, allocations: 36.09 MB / 1.091 GB, free: 103 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.698e-05/3.058, allocations: 4 kB / 1.091 GB, free: 103 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006481/3.065, allocations: 1.428 MB / 1.093 GB, free: 101.5 MB / 0.4983 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.002479/3.067, allocations: 0.9123 MB / 1.093 GB, free: 100.6 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001354/3.069, allocations: 200 kB / 1.094 GB, free: 100.4 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/3.081, allocations: 17.07 MB / 1.11 GB, free: 82.55 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/3.081, allocations: 4 kB / 1.11 GB, free: 82.54 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0322/3.113, allocations: 24.81 MB / 1.135 GB, free: 58.04 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004985/3.118, allocations: 2.251 MB / 1.137 GB, free: 56.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001891/3.12, allocations: 180 kB / 1.137 GB, free: 56.07 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005212/3.125, allocations: 495.5 kB / 1.137 GB, free: 55.59 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00155/3.127, allocations: 0.7991 MB / 1.138 GB, free: 54.79 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000555/3.127, allocations: 252 kB / 1.138 GB, free: 54.54 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.00875/3.136, allocations: 5.778 MB / 1.144 GB, free: 48.78 MB / 0.4983 GB Notification: Performance of sort global known variables: time 6.31e-07/3.136, allocations: 0 / 1.144 GB, free: 48.78 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01164/3.148, allocations: 3.5 MB / 1.147 GB, free: 45.28 MB / 0.4983 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.001524/3.149, allocations: 461.2 kB / 1.148 GB, free: 44.84 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.07257/3.222, allocations: 36.27 MB / 1.183 GB, free: 8.562 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/3.222, allocations: 4 kB / 1.183 GB, free: 8.559 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.2063/3.428, allocations: 8.748 MB / 1.192 GB, free: 149.5 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01349/3.442, allocations: 2.564 MB / 1.194 GB, free: 149.2 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06696/3.509, allocations: 38.89 MB / 1.232 GB, free: 134.5 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02287/3.531, allocations: 13.2 MB / 1.245 GB, free: 130 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01403/3.546, allocations: 4.015 MB / 1.249 GB, free: 128.9 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003744/3.549, allocations: 0.6768 MB / 1.25 GB, free: 128.2 MB / 0.4983 GB Notification: Performance of SimCode: time 8.41e-07/3.549, allocations: 4 kB / 1.25 GB, free: 128.2 MB / 0.4983 GB Notification: Performance of Templates: time 0.4289/3.978, allocations: 154.7 MB / 1.401 GB, free: 126.1 MB / 0.4983 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)