Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.009691/0.009691, allocations: 103.8 kB / 15.74 MB, free: 6.055 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.002483/0.002483, allocations: 194.3 kB / 16.68 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.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001263/0.001263, allocations: 47.92 kB / 328 MB, free: 1.844 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1063, allocations: 46.62 MB / 374.6 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.3234/0.4298, allocations: 49.52 MB / 424.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04164/0.4715, allocations: 12.93 MB / 437 MB, free: 144 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02027/0.4918, allocations: 325.1 kB / 437.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03615/0.5281, allocations: 13.95 MB / 451.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02968/0.5578, allocations: 5.576 MB / 456.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01523/0.5731, allocations: 3.296 MB / 460.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.04277/0.6159, allocations: 24.41 MB / 484.6 MB, free: 452 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1047/0.7206, allocations: 46.84 MB / 0.519 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02706/0.7477, allocations: 12.73 MB / 0.5314 GB, free: 4.555 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02788/0.7757, allocations: 13.92 MB / 0.545 GB, free: 6.586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01203/0.7877, allocations: 3.633 MB / 0.5485 GB, free: 2.953 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.508/1.296, allocations: 4.103 MB / 0.5526 GB, free: 68.17 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01769/1.314, allocations: 7.358 MB / 0.5597 GB, free: 68.17 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04959/1.363, allocations: 13.86 MB / 0.5733 GB, free: 66.35 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.09955/1.463, allocations: 48.63 MB / 0.6208 GB, free: 42.4 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/1.463, allocations: 0 / 0.6208 GB, free: 42.4 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.616e-06/1.463, allocations: 0.8125 kB / 0.6208 GB, free: 42.4 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.002244/1.465, allocations: 0 / 0.6208 GB, free: 42.4 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.1728/1.638, allocations: 27.79 MB / 0.6479 GB, free: 24.16 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/1.638, allocations: 8.031 kB / 0.6479 GB, free: 24.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09871/1.737, allocations: 14.92 MB / 0.6625 GB, free: 9.371 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03166/1.769, allocations: 13.4 MB / 0.6756 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002044/1.771, allocations: 1.589 MB / 0.6771 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01286/1.784, allocations: 2.09 MB / 0.6792 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1091/1.893, allocations: 35.17 MB / 0.7135 GB, free: 5.68 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001299/1.894, allocations: 32.64 kB / 0.7135 GB, free: 5.648 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009561/1.904, allocations: 0.8701 MB / 0.7144 GB, free: 4.801 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001407/1.905, allocations: 1.181 MB / 0.7155 GB, free: 3.617 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08446/1.989, allocations: 33 MB / 0.7478 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5627/2.552, allocations: 107.6 MB / 0.8528 GB, free: 107.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04853/2.601, allocations: 55.88 MB / 0.9074 GB, free: 51.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01779/2.619, allocations: 9.968 MB / 0.9172 GB, free: 41.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06331/2.682, allocations: 27.29 MB / 0.9438 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/2.682, allocations: 137.8 kB / 0.9439 GB, free: 14.61 MB / 0.545 GB Notification: Performance of pre-optimization done (n=894): time 1.335e-05/2.682, allocations: 0 / 0.9439 GB, free: 14.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=906): time 0.4248/3.107, allocations: 39.47 MB / 0.9825 GB, free: 161.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/3.107, allocations: 170.7 kB / 0.9826 GB, free: 161.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01848/3.126, allocations: 8.507 MB / 0.9909 GB, free: 158.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.003492/3.129, allocations: 169.1 kB / 0.9911 GB, free: 157.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00668/3.136, allocations: 8.834 MB / 0.9997 GB, free: 151.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004537/3.14, allocations: 3.058 MB / 1.003 GB, free: 149 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005475/3.146, allocations: 2.269 MB / 1.005 GB, free: 147.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/3.146, allocations: 307.5 kB / 1.005 GB, free: 147.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01002/3.156, allocations: 6.3 MB / 1.011 GB, free: 145.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01231/3.168, allocations: 10.27 MB / 1.021 GB, free: 137.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02271/3.191, allocations: 17.62 MB / 1.039 GB, free: 123.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001667/3.191, allocations: 36 kB / 1.039 GB, free: 123.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.03846/3.23, allocations: 20.64 MB / 1.059 GB, free: 105.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/3.23, allocations: 60 kB / 1.059 GB, free: 105.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/3.23, allocations: 128.2 kB / 1.059 GB, free: 105.3 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.002351/3.233, allocations: 0.8677 MB / 1.06 GB, free: 104.6 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01017/3.243, allocations: 2.494 MB / 1.062 GB, free: 102.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/3.253, allocations: 12.47 MB / 1.074 GB, free: 90.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01077/3.264, allocations: 0.6155 MB / 1.075 GB, free: 89.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002811/3.267, allocations: 0.5381 MB / 1.076 GB, free: 89.17 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.01729/3.284, allocations: 7.987 MB / 1.083 GB, free: 82.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003811/3.288, allocations: 0.9144 MB / 1.084 GB, free: 81.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03608/3.324, allocations: 17.07 MB / 1.101 GB, free: 65.85 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.219e-05/3.324, allocations: 88 kB / 1.101 GB, free: 65.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001329/3.324, allocations: 48 kB / 1.101 GB, free: 65.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002378/3.324, allocations: 43.83 kB / 1.101 GB, free: 65.67 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07724/3.402, allocations: 35.97 MB / 1.136 GB, free: 29.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-05/3.402, allocations: 4 kB / 1.136 GB, free: 29.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006941/3.409, allocations: 1.424 MB / 1.138 GB, free: 28.21 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.002888/3.412, allocations: 0.9148 MB / 1.139 GB, free: 27.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002271/3.414, allocations: 203.9 kB / 1.139 GB, free: 27.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/3.427, allocations: 17.05 MB / 1.155 GB, free: 9.109 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/3.427, allocations: 8 kB / 1.155 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3179/3.745, allocations: 24.82 MB / 1.18 GB, free: 148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006601/3.752, allocations: 2.25 MB / 1.182 GB, free: 147.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00314/3.755, allocations: 182.4 kB / 1.182 GB, free: 147.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006968/3.762, allocations: 496.9 kB / 1.182 GB, free: 147.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002447/3.765, allocations: 0.7921 MB / 1.183 GB, free: 147 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009466/3.766, allocations: 256.7 kB / 1.183 GB, free: 147 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01277/3.778, allocations: 5.775 MB / 1.189 GB, free: 144.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 5.51e-07/3.778, allocations: 0 / 1.189 GB, free: 144.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01658/3.795, allocations: 3.505 MB / 1.193 GB, free: 144.6 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.002463/3.797, allocations: 478.9 kB / 1.193 GB, free: 144.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0298/3.827, allocations: 16.28 MB / 1.209 GB, free: 137.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/3.827, allocations: 3.062 kB / 1.209 GB, free: 137.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01549/3.843, allocations: 8.749 MB / 1.217 GB, free: 133.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01623/3.859, allocations: 2.565 MB / 1.22 GB, free: 133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07332/3.932, allocations: 38.43 MB / 1.257 GB, free: 99.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02559/3.958, allocations: 13.21 MB / 1.27 GB, free: 89.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01532/3.973, allocations: 4.008 MB / 1.274 GB, free: 86.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004826/3.978, allocations: 0.6758 MB / 1.275 GB, free: 85.73 MB / 0.545 GB Notification: Performance of SimCode: time 1.453e-06/3.978, allocations: 4 kB / 1.275 GB, free: 85.73 MB / 0.545 GB Notification: Performance of Templates: time 0.5232/4.502, allocations: 146.7 MB / 1.418 GB, free: 145.2 MB / 0.5607 GB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1)