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.000832/0.0008318, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0009464/0.0009464, allocations: 168.7 kB / 15.95 MB, free: 204 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.359/1.359, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004242/0.0004242, allocations: 11.91 kB / 280.3 MB, free: 11.47 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2118, allocations: 47.58 MB / 327.8 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04202/0.2539, allocations: 43.28 MB / 371.1 MB, free: 7.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02512/0.279, allocations: 12.04 MB / 383.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008406/0.2875, allocations: 302.9 kB / 383.4 MB, free: 11.56 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009346/0.2969, allocations: 2.431 MB / 385.9 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01524/0.3121, allocations: 4.579 MB / 390.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00788/0.32, allocations: 2.236 MB / 392.7 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03323/0.3533, allocations: 26.5 MB / 419.2 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07495/0.4283, allocations: 36.46 MB / 455.7 MB, free: 3.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3934/0.8217, allocations: 8.987 MB / 464.6 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01622/0.8379, allocations: 10.35 MB / 475 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005374/0.8433, allocations: 1.417 MB / 476.4 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008874/0.8522, allocations: 1.844 MB / 478.3 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00658/0.8588, allocations: 4.619 MB / 482.9 MB, free: 24.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008742/0.8676, allocations: 4.629 MB / 487.5 MB, free: 24.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03248/0.9001, allocations: 41.06 MB / 0.5162 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.9001, allocations: 0 / 0.5162 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.9001, allocations: 0 / 0.5162 GB, free: 1.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001198/0.9013, allocations: 0 / 0.5162 GB, free: 1.527 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.06546/0.9668, allocations: 23.23 MB / 0.5389 GB, free: 1.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.9668, allocations: 12.03 kB / 0.5389 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08101/1.048, allocations: 14.95 MB / 0.5535 GB, free: 3.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02963/1.078, allocations: 13.13 MB / 0.5663 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002059/1.08, allocations: 1.588 MB / 0.5678 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00985/1.09, allocations: 2.095 MB / 0.5699 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1003/1.19, allocations: 35.01 MB / 0.6041 GB, free: 8.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001001/1.191, allocations: 29.3 kB / 0.6041 GB, free: 8.77 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008539/1.199, allocations: 0.8656 MB / 0.6049 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001326/1.201, allocations: 1.181 MB / 0.6061 GB, free: 6.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2539/1.455, allocations: 32.85 MB / 0.6382 GB, free: 136.3 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1639/1.619, allocations: 109.3 MB / 0.7449 GB, free: 58.34 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03796/1.657, allocations: 55.78 MB / 0.7994 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0185/1.675, allocations: 9.966 MB / 0.8091 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.244/1.919, allocations: 27.37 MB / 0.8358 GB, free: 143.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.292e-05/1.919, allocations: 133.9 kB / 0.836 GB, free: 143.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=894): time 8.726e-06/1.919, allocations: 0 / 0.836 GB, free: 143.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=906): time 0.05718/1.976, allocations: 39.47 MB / 0.8745 GB, free: 124.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/1.977, allocations: 175.2 kB / 0.8747 GB, free: 124.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.987, allocations: 8.438 MB / 0.8829 GB, free: 118 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001211/1.988, allocations: 173.7 kB / 0.8831 GB, free: 117.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003809/1.992, allocations: 8.838 MB / 0.8917 GB, free: 110 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002481/1.994, allocations: 3.061 MB / 0.8947 GB, free: 107.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006782/1.995, allocations: 236 kB / 0.8949 GB, free: 107 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004304/1.995, allocations: 0.7899 MB / 0.8957 GB, free: 106.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008074/2.004, allocations: 6.267 MB / 0.9018 GB, free: 101.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00975/2.013, allocations: 10.23 MB / 0.9118 GB, free: 90.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/2.024, allocations: 8.399 MB / 0.92 GB, free: 82.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.638e-05/2.024, allocations: 36 kB / 0.92 GB, free: 82.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.03184/2.056, allocations: 20.53 MB / 0.9401 GB, free: 62.99 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/2.056, allocations: 62.22 kB / 0.9401 GB, free: 62.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/2.056, allocations: 124 kB / 0.9403 GB, free: 62.81 MB / 494.1 MB 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.002502/2.059, allocations: 0.9534 MB / 0.9412 GB, free: 61.85 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009692/2.068, allocations: 2.496 MB / 0.9436 GB, free: 59.35 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00858/2.077, allocations: 11.5 MB / 0.9549 GB, free: 47.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009445/2.086, allocations: 0.6282 MB / 0.9555 GB, free: 46.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001823/2.088, allocations: 0.5351 MB / 0.956 GB, free: 46.03 MB / 494.1 MB 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.01378/2.102, allocations: 7.978 MB / 0.9638 GB, free: 38.04 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/2.104, allocations: 0.9183 MB / 0.9647 GB, free: 37.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02541/2.129, allocations: 17.04 MB / 0.9813 GB, free: 19.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-05/2.129, allocations: 99.95 kB / 0.9814 GB, free: 19.83 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.482e-05/2.129, allocations: 40 kB / 0.9815 GB, free: 19.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001171/2.13, allocations: 43.83 kB / 0.9815 GB, free: 19.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2819/2.411, allocations: 36 MB / 1.017 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-05/2.412, allocations: 6.375 kB / 1.017 GB, free: 128.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006324/2.418, allocations: 1.425 MB / 1.018 GB, free: 128 MB / 494.1 MB 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.003076/2.421, allocations: 0.976 MB / 1.019 GB, free: 127.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001287/2.422, allocations: 207 kB / 1.019 GB, free: 127.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01242/2.435, allocations: 15.67 MB / 1.035 GB, free: 115.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/2.435, allocations: 11.77 kB / 1.035 GB, free: 115.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03498/2.47, allocations: 24.71 MB / 1.059 GB, free: 105 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005811/2.476, allocations: 2.262 MB / 1.061 GB, free: 104.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001984/2.478, allocations: 178.7 kB / 1.061 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004938/2.483, allocations: 0.508 MB / 1.062 GB, free: 104 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00136/2.484, allocations: 0.7885 MB / 1.062 GB, free: 103.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005768/2.485, allocations: 259.3 kB / 1.063 GB, free: 103.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01021/2.495, allocations: 5.709 MB / 1.068 GB, free: 98.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/2.495, allocations: 0 / 1.068 GB, free: 98.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01407/2.509, allocations: 3.495 MB / 1.072 GB, free: 95.1 MB / 494.1 MB 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.001738/2.511, allocations: 439.4 kB / 1.072 GB, free: 94.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02367/2.534, allocations: 16.16 MB / 1.088 GB, free: 80.67 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/2.534, allocations: 4 kB / 1.088 GB, free: 80.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01264/2.547, allocations: 8.741 MB / 1.096 GB, free: 73.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01332/2.56, allocations: 2.473 MB / 1.099 GB, free: 70.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0751/2.635, allocations: 45.96 MB / 1.144 GB, free: 25.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02279/2.658, allocations: 13.2 MB / 1.156 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01653/2.675, allocations: 4.022 MB / 1.16 GB, free: 8.473 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004101/2.679, allocations: 0.6634 MB / 1.161 GB, free: 7.809 MB / 494.1 MB Notification: Performance of SimCode: time 2.234e-06/2.679, allocations: 4 kB / 1.161 GB, free: 7.805 MB / 494.1 MB Notification: Performance of Templates: time 0.4345/3.114, allocations: 147.3 MB / 1.305 GB, free: 43.07 MB / 0.4982 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)