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.008537/0.008537, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001837/0.001838, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.489/1.489, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.001275/0.001275, allocations: 54.66 kB / 328 MB, free: 13.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1238, allocations: 46.62 MB / 374.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.05454/0.1784, allocations: 49.51 MB / 424.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03844/0.2169, allocations: 12.93 MB / 437 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01525/0.2322, allocations: 322.9 kB / 437.4 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03785/0.2701, allocations: 13.94 MB / 451.3 MB, free: 2.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3136/0.5838, allocations: 5.572 MB / 456.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01192/0.5957, allocations: 3.297 MB / 460.2 MB, free: 6.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.03612/0.6319, allocations: 24.42 MB / 484.6 MB, free: 5.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08776/0.7197, allocations: 47.47 MB / 0.5196 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02726/0.747, allocations: 12.71 MB / 0.532 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03095/0.778, allocations: 13.92 MB / 0.5456 GB, free: 8.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01301/0.791, allocations: 3.633 MB / 0.5491 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02232/0.8134, allocations: 4.114 MB / 0.5532 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01889/0.8323, allocations: 7.358 MB / 0.5603 GB, free: 9.832 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03464/0.867, allocations: 13.86 MB / 0.5739 GB, free: 12.1 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06613/0.9332, allocations: 48.64 MB / 0.6214 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.9332, allocations: 0 / 0.6214 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9332, allocations: 3.938 kB / 0.6214 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001681/0.9349, allocations: 0 / 0.6214 GB, free: 12.34 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.5954/1.53, allocations: 27.78 MB / 0.6485 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.53, allocations: 9.625 kB / 0.6485 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07924/1.61, allocations: 14.92 MB / 0.6631 GB, free: 148.6 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03686/1.647, allocations: 13.41 MB / 0.6762 GB, free: 139.6 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001902/1.649, allocations: 1.585 MB / 0.6777 GB, free: 138 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01131/1.66, allocations: 2.087 MB / 0.6798 GB, free: 136 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1045/1.764, allocations: 35.17 MB / 0.7141 GB, free: 100.7 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001247/1.766, allocations: 35.64 kB / 0.7142 GB, free: 100.7 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009471/1.775, allocations: 0.8647 MB / 0.715 GB, free: 99.86 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00112/1.776, allocations: 1.189 MB / 0.7162 GB, free: 98.67 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07092/1.847, allocations: 33 MB / 0.7484 GB, free: 65.64 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8116/2.659, allocations: 107.6 MB / 0.8535 GB, free: 133.9 MB / 0.5452 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06576/2.725, allocations: 55.89 MB / 0.908 GB, free: 94.69 MB / 0.5452 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01951/2.744, allocations: 9.96 MB / 0.9178 GB, free: 94.53 MB / 0.5452 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06966/2.814, allocations: 27.29 MB / 0.9444 GB, free: 86.92 MB / 0.5452 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001289/2.814, allocations: 133.3 kB / 0.9445 GB, free: 86.81 MB / 0.5452 GB Notification: Performance of pre-optimization done (n=894): time 1.86e-05/2.814, allocations: 3.625 kB / 0.9445 GB, free: 86.81 MB / 0.5452 GB Notification: Performance of matching and sorting (n=906): time 0.08938/2.904, allocations: 39.47 MB / 0.9831 GB, free: 59.04 MB / 0.5452 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000143/2.904, allocations: 172.4 kB / 0.9833 GB, free: 58.85 MB / 0.5452 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01554/2.919, allocations: 8.51 MB / 0.9916 GB, free: 50.35 MB / 0.5452 GB Notification: Performance of collectPreVariables (initialization): time 0.00178/2.921, allocations: 173.7 kB / 0.9917 GB, free: 50.17 MB / 0.5452 GB Notification: Performance of collectInitialEqns (initialization): time 0.004579/2.926, allocations: 8.831 MB / 1 GB, free: 41.29 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.003333/2.929, allocations: 3.062 MB / 1.003 GB, free: 38.24 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004266/2.933, allocations: 2.272 MB / 1.006 GB, free: 35.96 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 4.918e-05/2.933, allocations: 301.1 kB / 1.006 GB, free: 35.66 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009077/2.942, allocations: 6.304 MB / 1.012 GB, free: 29.36 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01261/2.955, allocations: 10.26 MB / 1.022 GB, free: 17.35 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02415/2.979, allocations: 17.62 MB / 1.039 GB, free: 13.92 MB / 0.5608 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/2.98, allocations: 36 kB / 1.039 GB, free: 13.88 MB / 0.5608 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.0501/3.03, allocations: 20.64 MB / 1.059 GB, free: 9.129 MB / 0.5764 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002165/3.03, allocations: 63.98 kB / 1.059 GB, free: 9.066 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003027/3.03, allocations: 124.9 kB / 1.06 GB, free: 8.945 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.003135/3.033, allocations: 0.8783 MB / 1.06 GB, free: 8.051 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01191/3.045, allocations: 2.488 MB / 1.063 GB, free: 5.559 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2776/3.323, allocations: 12.46 MB / 1.075 GB, free: 177.1 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/3.335, allocations: 0.6245 MB / 1.076 GB, free: 177.1 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003946/3.339, allocations: 0.5338 MB / 1.076 GB, free: 177.1 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.02304/3.362, allocations: 7.982 MB / 1.084 GB, free: 174.5 MB / 0.5764 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003676/3.365, allocations: 0.9192 MB / 1.085 GB, free: 174.5 MB / 0.5764 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0335/3.399, allocations: 17.08 MB / 1.102 GB, free: 167.7 MB / 0.5764 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-05/3.399, allocations: 90.19 kB / 1.102 GB, free: 167.7 MB / 0.5764 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.625e-05/3.399, allocations: 42.97 kB / 1.102 GB, free: 167.7 MB / 0.5764 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001965/3.399, allocations: 44.95 kB / 1.102 GB, free: 167.7 MB / 0.5764 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06666/3.466, allocations: 35.95 MB / 1.137 GB, free: 153.4 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.039e-05/3.466, allocations: 4.781 kB / 1.137 GB, free: 153.4 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006633/3.473, allocations: 1.434 MB / 1.138 GB, free: 153.3 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.002925/3.476, allocations: 0.9128 MB / 1.139 GB, free: 153.1 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00285/3.479, allocations: 205.9 kB / 1.139 GB, free: 152.9 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/3.492, allocations: 17.05 MB / 1.156 GB, free: 139.3 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/3.492, allocations: 14.91 kB / 1.156 GB, free: 139.3 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0361/3.528, allocations: 24.82 MB / 1.18 GB, free: 115.3 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006583/3.534, allocations: 2.255 MB / 1.182 GB, free: 113.5 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003783/3.538, allocations: 183.9 kB / 1.183 GB, free: 113.3 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00703/3.545, allocations: 491.5 kB / 1.183 GB, free: 112.9 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002255/3.548, allocations: 0.7874 MB / 1.184 GB, free: 112.1 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000891/3.548, allocations: 256.1 kB / 1.184 GB, free: 111.8 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.01032/3.559, allocations: 5.782 MB / 1.19 GB, free: 106 MB / 0.5764 GB Notification: Performance of sort global known variables: time 5.01e-07/3.559, allocations: 0 / 1.19 GB, free: 106 MB / 0.5764 GB Notification: Performance of remove unused functions: time 0.01794/3.577, allocations: 3.508 MB / 1.193 GB, free: 102.5 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.002476/3.579, allocations: 466.4 kB / 1.194 GB, free: 102.1 MB / 0.5764 GB Notification: Performance of simCode: created initialization part: time 0.0233/3.603, allocations: 16.28 MB / 1.21 GB, free: 85.74 MB / 0.5764 GB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/3.603, allocations: 3.938 kB / 1.21 GB, free: 85.74 MB / 0.5764 GB Notification: Performance of simCode: created simulation system equations: time 0.01272/3.615, allocations: 8.752 MB / 1.218 GB, free: 76.9 MB / 0.5764 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01547/3.631, allocations: 2.565 MB / 1.221 GB, free: 74.33 MB / 0.5764 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0714/3.702, allocations: 38.42 MB / 1.258 GB, free: 35.84 MB / 0.5764 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02044/3.723, allocations: 13.2 MB / 1.271 GB, free: 22.59 MB / 0.5764 GB Notification: Performance of simCode: alias equations: time 0.01223/3.735, allocations: 4.018 MB / 1.275 GB, free: 18.56 MB / 0.5764 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003257/3.738, allocations: 0.6751 MB / 1.276 GB, free: 17.89 MB / 0.5764 GB Notification: Performance of SimCode: time 1.032e-06/3.738, allocations: 0 / 1.276 GB, free: 17.89 MB / 0.5764 GB Notification: Performance of Templates: time 0.488/4.226, allocations: 146.7 MB / 1.419 GB, free: 71.52 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)