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.0009119/0.000912, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008872/0.0008873, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004366/0.0004366, allocations: 8 kB / 280.2 MB, free: 11.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.297, allocations: 47.58 MB / 327.8 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04571/0.3427, allocations: 43.28 MB / 371.1 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.032/0.3748, allocations: 12.04 MB / 383.2 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01115/0.386, allocations: 306.9 kB / 383.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.3964, allocations: 2.435 MB / 385.9 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01816/0.4146, allocations: 4.579 MB / 390.5 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009653/0.4243, allocations: 2.224 MB / 392.7 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0403/0.4646, allocations: 26.51 MB / 419.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08094/0.5456, allocations: 36.46 MB / 455.7 MB, free: 3.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.47/1.016, allocations: 8.986 MB / 464.6 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02239/1.038, allocations: 10.35 MB / 475 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009421/1.047, allocations: 1.411 MB / 476.4 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01447/1.062, allocations: 1.845 MB / 478.3 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0106/1.073, allocations: 4.622 MB / 482.9 MB, free: 29.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01291/1.086, allocations: 4.634 MB / 487.5 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04532/1.131, allocations: 41.05 MB / 0.5162 GB, free: 6.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.778e-06/1.131, allocations: 0 / 0.5162 GB, free: 6.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.278e-06/1.131, allocations: 2.25 kB / 0.5162 GB, free: 6.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001859/1.133, allocations: 3.875 kB / 0.5162 GB, free: 6.402 MB / 382.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.0758/1.209, allocations: 23.23 MB / 0.5389 GB, free: 1.867 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/1.209, allocations: 12.03 kB / 0.5389 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08242/1.291, allocations: 14.95 MB / 0.5535 GB, free: 3.906 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04084/1.332, allocations: 13.12 MB / 0.5663 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002706/1.335, allocations: 1.591 MB / 0.5678 GB, free: 11.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01415/1.349, allocations: 2.096 MB / 0.5699 GB, free: 10.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1244/1.473, allocations: 35.01 MB / 0.6041 GB, free: 9.809 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001664/1.475, allocations: 31.55 kB / 0.6041 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01104/1.486, allocations: 0.864 MB / 0.605 GB, free: 8.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001547/1.488, allocations: 1.18 MB / 0.6061 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5473/2.035, allocations: 32.84 MB / 0.6382 GB, free: 118.3 MB / 462.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2153/2.25, allocations: 109.3 MB / 0.7449 GB, free: 23.2 MB / 462.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05508/2.306, allocations: 55.79 MB / 0.7994 GB, free: 11.73 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02253/2.328, allocations: 9.963 MB / 0.8091 GB, free: 1.734 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3605/2.689, allocations: 27.36 MB / 0.8358 GB, free: 150.6 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001295/2.689, allocations: 136.3 kB / 0.836 GB, free: 150.5 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=894): time 2.011e-05/2.689, allocations: 1.203 kB / 0.836 GB, free: 150.5 MB / 0.4983 GB Notification: Performance of matching and sorting (n=906): time 0.1228/2.812, allocations: 39.46 MB / 0.8745 GB, free: 132 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/2.812, allocations: 181.7 kB / 0.8747 GB, free: 131.9 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01893/2.831, allocations: 8.433 MB / 0.8829 GB, free: 127.5 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 0.00178/2.833, allocations: 175 kB / 0.8831 GB, free: 127.3 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 0.006195/2.839, allocations: 8.833 MB / 0.8917 GB, free: 119.5 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.003828/2.843, allocations: 3.058 MB / 0.8947 GB, free: 116.8 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002145/2.845, allocations: 238.9 kB / 0.8949 GB, free: 116.5 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 0.001094/2.846, allocations: 0.7877 MB / 0.8957 GB, free: 115.9 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01081/2.857, allocations: 6.27 MB / 0.9018 GB, free: 110.6 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01253/2.869, allocations: 10.23 MB / 0.9118 GB, free: 99.82 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/2.882, allocations: 8.401 MB / 0.92 GB, free: 91.59 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001207/2.882, allocations: 36 kB / 0.92 GB, free: 91.55 MB / 0.4983 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.03701/2.919, allocations: 20.53 MB / 0.9401 GB, free: 70.91 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/2.919, allocations: 57.25 kB / 0.9401 GB, free: 70.85 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002099/2.919, allocations: 132.2 kB / 0.9403 GB, free: 70.72 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= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/2.922, allocations: 0.9551 MB / 0.9412 GB, free: 69.76 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009774/2.932, allocations: 2.484 MB / 0.9436 GB, free: 67.27 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009634/2.942, allocations: 11.52 MB / 0.9549 GB, free: 55.11 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00961/2.951, allocations: 0.6205 MB / 0.9555 GB, free: 54.49 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/2.954, allocations: 0.5312 MB / 0.956 GB, free: 53.96 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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].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 (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01407/2.968, allocations: 7.989 MB / 0.9638 GB, free: 45.95 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00274/2.97, allocations: 0.9146 MB / 0.9647 GB, free: 45.02 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.032/3.002, allocations: 17.04 MB / 0.9813 GB, free: 27.84 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.798e-05/3.003, allocations: 91.95 kB / 0.9814 GB, free: 27.75 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001261/3.003, allocations: 49.41 kB / 0.9815 GB, free: 27.71 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002008/3.003, allocations: 43.83 kB / 0.9815 GB, free: 27.66 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3324/3.335, allocations: 36 MB / 1.017 GB, free: 135.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001365/3.335, allocations: 7.812 kB / 1.017 GB, free: 135.3 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007359/3.343, allocations: 1.43 MB / 1.018 GB, free: 135.1 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= and --maxSizeNonlinearTearing=. Notification: Performance of postOpt tearingSystem (simulation): time 0.003312/3.346, allocations: 0.964 MB / 1.019 GB, free: 134.9 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002274/3.348, allocations: 207 kB / 1.019 GB, free: 134.8 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/3.362, allocations: 15.67 MB / 1.034 GB, free: 122.3 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/3.362, allocations: 10.5 kB / 1.035 GB, free: 122.3 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04312/3.405, allocations: 24.72 MB / 1.059 GB, free: 112.2 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006045/3.411, allocations: 2.256 MB / 1.061 GB, free: 111.4 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002591/3.414, allocations: 180.5 kB / 1.061 GB, free: 111.3 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006071/3.42, allocations: 0.5047 MB / 1.062 GB, free: 111.1 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002026/3.422, allocations: 0.7914 MB / 1.062 GB, free: 111 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000808/3.423, allocations: 254.4 kB / 1.063 GB, free: 111 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 0.009932/3.433, allocations: 5.714 MB / 1.068 GB, free: 108.9 MB / 0.4983 GB Notification: Performance of sort global known variables: time 3.5e-07/3.433, allocations: 2.469 kB / 1.068 GB, free: 108.9 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.01777/3.45, allocations: 3.497 MB / 1.072 GB, free: 105.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(204,1.3%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002699/3.453, allocations: 436.1 kB / 1.072 GB, free: 105.3 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 0.0272/3.48, allocations: 16.18 MB / 1.088 GB, free: 91.29 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/3.48, allocations: 7.859 kB / 1.088 GB, free: 91.28 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 0.01401/3.494, allocations: 8.726 MB / 1.096 GB, free: 83.68 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01841/3.513, allocations: 2.467 MB / 1.099 GB, free: 81.56 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0808/3.594, allocations: 45.97 MB / 1.144 GB, free: 36.16 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02561/3.619, allocations: 13.2 MB / 1.156 GB, free: 22.91 MB / 0.4983 GB Notification: Performance of simCode: alias equations: time 0.01514/3.635, allocations: 4.018 MB / 1.16 GB, free: 18.88 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004221/3.639, allocations: 0.6712 MB / 1.161 GB, free: 18.21 MB / 0.4983 GB Notification: Performance of SimCode: time 1.453e-06/3.639, allocations: 1.531 kB / 1.161 GB, free: 18.21 MB / 0.4983 GB Notification: Performance of Templates: time 0.4641/4.103, allocations: 147.3 MB / 1.305 GB, free: 47.86 MB / 0.4983 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)