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.0008448/0.0008449, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.000956/0.0009561, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.54/1.54, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004857/0.0004858, allocations: 8.219 kB / 282.1 MB, free: 2.02 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1044, allocations: 47.59 MB / 329.7 MB, free: 2.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04494/0.1494, allocations: 46.75 MB / 376.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2423/0.3918, allocations: 12.69 MB / 389.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01213/0.4039, allocations: 303.2 kB / 389.5 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01419/0.4181, allocations: 3.212 MB / 392.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02334/0.4415, allocations: 4.974 MB / 397.6 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01249/0.454, allocations: 2.95 MB / 400.6 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03453/0.4886, allocations: 24.94 MB / 425.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08047/0.5691, allocations: 44.37 MB / 469.9 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02028/0.5894, allocations: 8.892 MB / 478.8 MB, free: 8.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02104/0.6105, allocations: 10.81 MB / 489.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00648/0.617, allocations: 1.414 MB / 491 MB, free: 12.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/0.6287, allocations: 1.906 MB / 492.9 MB, free: 10.31 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009272/0.638, allocations: 4.686 MB / 497.6 MB, free: 5.719 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02318/0.6612, allocations: 10.97 MB / 0.4967 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5137/1.175, allocations: 45.64 MB / 0.5412 GB, free: 63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/1.175, allocations: 3.688 kB / 0.5412 GB, free: 63 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.028e-06/1.175, allocations: 1.188 kB / 0.5412 GB, free: 63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001699/1.177, allocations: 0 / 0.5412 GB, free: 63 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.07717/1.254, allocations: 23.01 MB / 0.5637 GB, free: 56.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/1.254, allocations: 9.75 kB / 0.5637 GB, free: 56.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07811/1.332, allocations: 14.95 MB / 0.5783 GB, free: 52.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0289/1.361, allocations: 13.33 MB / 0.5913 GB, free: 46.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001966/1.363, allocations: 1.585 MB / 0.5929 GB, free: 45.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01223/1.375, allocations: 2.097 MB / 0.5949 GB, free: 44.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1008/1.476, allocations: 35.18 MB / 0.6293 GB, free: 12.1 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001364/1.477, allocations: 34.7 kB / 0.6293 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009616/1.487, allocations: 0.8631 MB / 0.6301 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001177/1.488, allocations: 1.177 MB / 0.6313 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07973/1.568, allocations: 33.03 MB / 0.6636 GB, free: 9.004 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4875/2.056, allocations: 109.3 MB / 0.7703 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04492/2.1, allocations: 55.85 MB / 0.8249 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01637/2.117, allocations: 9.955 MB / 0.8346 GB, free: 112.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05359/2.171, allocations: 27.39 MB / 0.8613 GB, free: 99.82 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.055e-05/2.171, allocations: 133.4 kB / 0.8615 GB, free: 99.71 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=894): time 9.859e-06/2.171, allocations: 0 / 0.8615 GB, free: 99.71 MB / 0.5294 GB Notification: Performance of matching and sorting (n=906): time 0.07541/2.246, allocations: 39.54 MB / 0.9001 GB, free: 64.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/2.246, allocations: 176.4 kB / 0.9003 GB, free: 64.45 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01577/2.262, allocations: 8.503 MB / 0.9086 GB, free: 55.95 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001803/2.264, allocations: 173.7 kB / 0.9087 GB, free: 55.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004726/2.269, allocations: 8.824 MB / 0.9173 GB, free: 46.9 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.003476/2.272, allocations: 3.069 MB / 0.9203 GB, free: 43.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001804/2.274, allocations: 0.9384 MB / 0.9213 GB, free: 42.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.978e-05/2.274, allocations: 305.1 kB / 0.9215 GB, free: 42.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008524/2.282, allocations: 6.316 MB / 0.9277 GB, free: 36.29 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/2.293, allocations: 10.27 MB / 0.9377 GB, free: 24.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02179/2.315, allocations: 17.65 MB / 0.955 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001342/2.315, allocations: 32 kB / 0.955 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.2753/2.591, allocations: 20.64 MB / 0.9752 GB, free: 183 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/2.591, allocations: 65.2 kB / 0.9752 GB, free: 183 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002817/2.591, allocations: 129.8 kB / 0.9754 GB, free: 183 MB / 0.5294 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.003087/2.594, allocations: 0.9324 MB / 0.9763 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01041/2.605, allocations: 2.479 MB / 0.9787 GB, free: 182.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009594/2.614, allocations: 11.55 MB / 0.99 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/2.625, allocations: 0.6217 MB / 0.9906 GB, free: 173.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002638/2.627, allocations: 0.5301 MB / 0.9911 GB, free: 173.4 MB / 0.5294 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.01578/2.643, allocations: 7.986 MB / 0.9989 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002547/2.646, allocations: 0.9164 MB / 0.9998 GB, free: 169.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0322/2.678, allocations: 17.08 MB / 1.016 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.754e-05/2.678, allocations: 91.72 kB / 1.017 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001063/2.678, allocations: 45.38 kB / 1.017 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002158/2.679, allocations: 45.09 kB / 1.017 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06451/2.743, allocations: 36.08 MB / 1.052 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.304e-05/2.743, allocations: 8 kB / 1.052 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006321/2.749, allocations: 1.422 MB / 1.053 GB, free: 136 MB / 0.5294 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.003029/2.753, allocations: 0.9773 MB / 1.054 GB, free: 135 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001464/2.754, allocations: 207.9 kB / 1.054 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/2.766, allocations: 15.72 MB / 1.07 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/2.766, allocations: 11.94 kB / 1.07 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03871/2.804, allocations: 24.82 MB / 1.094 GB, free: 93.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006133/2.811, allocations: 2.262 MB / 1.096 GB, free: 91.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002745/2.813, allocations: 180 kB / 1.096 GB, free: 91.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006596/2.82, allocations: 0.5007 MB / 1.097 GB, free: 91.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002101/2.822, allocations: 0.7952 MB / 1.098 GB, free: 90.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000793/2.823, allocations: 256 kB / 1.098 GB, free: 90.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00992/2.833, allocations: 5.778 MB / 1.104 GB, free: 84.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.72e-07/2.833, allocations: 0 / 1.104 GB, free: 84.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01412/2.847, allocations: 3.498 MB / 1.107 GB, free: 80.96 MB / 0.5294 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.001953/2.849, allocations: 459.6 kB / 1.107 GB, free: 80.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02159/2.871, allocations: 16.25 MB / 1.123 GB, free: 64.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/2.871, allocations: 2.438 kB / 1.123 GB, free: 64.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0123/2.883, allocations: 8.758 MB / 1.132 GB, free: 55.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02153/2.905, allocations: 2.419 MB / 1.134 GB, free: 52.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2903/3.195, allocations: 48.01 MB / 1.181 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02472/3.22, allocations: 13.2 MB / 1.194 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01551/3.235, allocations: 4.02 MB / 1.198 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005286/3.241, allocations: 0.6681 MB / 1.199 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.423e-06/3.241, allocations: 0.6562 kB / 1.199 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of Templates: time 0.4397/3.68, allocations: 150.5 MB / 1.346 GB, free: 176.1 MB / 0.5294 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)