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.001118/0.001119, allocations: 105.9 kB / 16.5 MB, free: 6.688 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.001109/0.001109, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.577/1.577, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001151/0.001151, allocations: 52.14 kB / 280.7 MB, free: 2.195 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1111, allocations: 46.62 MB / 327.3 MB, free: 3.512 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04785/0.159, allocations: 48.6 MB / 375.9 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2671/0.4262, allocations: 12.78 MB / 388.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01473/0.4409, allocations: 305 kB / 389 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03207/0.4731, allocations: 13.03 MB / 402.1 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02531/0.4984, allocations: 5.017 MB / 407.1 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01349/0.5119, allocations: 3.062 MB / 410.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03471/0.5467, allocations: 24.96 MB / 435.1 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07878/0.6255, allocations: 38.52 MB / 473.6 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0245/0.65, allocations: 10.72 MB / 484.3 MB, free: 2.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02556/0.6756, allocations: 13.18 MB / 497.5 MB, free: 5.375 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01267/0.6884, allocations: 2.297 MB / 499.8 MB, free: 3.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.7047, allocations: 2.788 MB / 0.4908 GB, free: 320 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01314/0.7179, allocations: 5.952 MB / 0.4966 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03519/0.7532, allocations: 12.43 MB / 0.5088 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4714/1.225, allocations: 47.42 MB / 0.5551 GB, free: 73.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.225, allocations: 0 / 0.5551 GB, free: 73.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.063e-06/1.225, allocations: 4.938 kB / 0.5551 GB, free: 73.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001684/1.226, allocations: 0 / 0.5551 GB, free: 73.85 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.1046/1.331, allocations: 27.84 MB / 0.5823 GB, free: 62.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.331, allocations: 7.781 kB / 0.5823 GB, free: 62.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07915/1.41, allocations: 14.87 MB / 0.5968 GB, free: 55.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03102/1.441, allocations: 13.3 MB / 0.6098 GB, free: 43.37 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001534/1.443, allocations: 1.591 MB / 0.6113 GB, free: 41.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01245/1.455, allocations: 2.091 MB / 0.6134 GB, free: 39.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09872/1.554, allocations: 35.17 MB / 0.6477 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001001/1.555, allocations: 23.81 kB / 0.6477 GB, free: 4.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009975/1.565, allocations: 0.8691 MB / 0.6486 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001033/1.566, allocations: 1.183 MB / 0.6498 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08144/1.648, allocations: 32.99 MB / 0.682 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4729/2.121, allocations: 108.9 MB / 0.7884 GB, free: 146.1 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0416/2.162, allocations: 55.85 MB / 0.8429 GB, free: 97.76 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01692/2.179, allocations: 9.929 MB / 0.8526 GB, free: 92.66 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05089/2.23, allocations: 27.35 MB / 0.8793 GB, free: 66.66 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.858e-05/2.23, allocations: 129.9 kB / 0.8794 GB, free: 66.53 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=894): time 8.345e-06/2.23, allocations: 0 / 0.8794 GB, free: 66.53 MB / 0.5138 GB Notification: Performance of matching and sorting (n=906): time 0.06783/2.298, allocations: 39.43 MB / 0.9179 GB, free: 26.68 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/2.298, allocations: 172.5 kB / 0.9181 GB, free: 26.5 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01415/2.312, allocations: 8.503 MB / 0.9264 GB, free: 18 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.002492/2.315, allocations: 173.7 kB / 0.9266 GB, free: 17.83 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.004475/2.319, allocations: 8.834 MB / 0.9352 GB, free: 8.941 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003517/2.323, allocations: 3.06 MB / 0.9382 GB, free: 5.906 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004566/2.327, allocations: 2.272 MB / 0.9404 GB, free: 3.625 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.955e-05/2.327, allocations: 309.1 kB / 0.9407 GB, free: 3.32 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2239/2.551, allocations: 6.292 MB / 0.9468 GB, free: 179.2 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01483/2.566, allocations: 10.26 MB / 0.9569 GB, free: 174.5 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02173/2.588, allocations: 17.61 MB / 0.9741 GB, free: 165.6 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/2.588, allocations: 38.53 kB / 0.9741 GB, free: 165.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.04231/2.631, allocations: 20.6 MB / 0.9942 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/2.631, allocations: 63.47 kB / 0.9943 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002976/2.631, allocations: 123.1 kB / 0.9944 GB, free: 157.7 MB / 0.5138 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.002888/2.634, allocations: 0.9317 MB / 0.9953 GB, free: 157.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009768/2.644, allocations: 2.487 MB / 0.9977 GB, free: 156.5 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008812/2.653, allocations: 11.52 MB / 1.009 GB, free: 145.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009346/2.662, allocations: 0.6177 MB / 1.01 GB, free: 144.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002479/2.664, allocations: 0.5355 MB / 1.01 GB, free: 144.2 MB / 0.5138 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.01319/2.678, allocations: 7.988 MB / 1.018 GB, free: 137.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002068/2.68, allocations: 0.9157 MB / 1.019 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02594/2.706, allocations: 17.04 MB / 1.035 GB, free: 122.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.592e-05/2.706, allocations: 95.72 kB / 1.036 GB, free: 122.7 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.913e-05/2.706, allocations: 47.94 kB / 1.036 GB, free: 122.7 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001014/2.706, allocations: 51.81 kB / 1.036 GB, free: 122.6 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05497/2.761, allocations: 36.02 MB / 1.071 GB, free: 86.54 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.205e-05/2.761, allocations: 11.19 kB / 1.071 GB, free: 86.53 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005908/2.767, allocations: 1.428 MB / 1.072 GB, free: 85.1 MB / 0.5138 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.00292/2.77, allocations: 0.9673 MB / 1.073 GB, free: 84.12 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00114/2.771, allocations: 209.1 kB / 1.073 GB, free: 83.91 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/2.782, allocations: 15.69 MB / 1.089 GB, free: 67.46 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/2.782, allocations: 22.09 kB / 1.089 GB, free: 67.45 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03214/2.814, allocations: 24.75 MB / 1.113 GB, free: 42.85 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00557/2.82, allocations: 2.252 MB / 1.115 GB, free: 40.57 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002742/2.823, allocations: 184 kB / 1.115 GB, free: 40.39 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006546/2.829, allocations: 491.5 kB / 1.116 GB, free: 39.91 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002734/2.832, allocations: 0.7925 MB / 1.116 GB, free: 39.12 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009519/2.833, allocations: 256 kB / 1.117 GB, free: 38.87 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.01045/2.843, allocations: 5.778 MB / 1.122 GB, free: 33.11 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.51e-07/2.843, allocations: 0 / 1.122 GB, free: 33.11 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.2229/3.066, allocations: 3.498 MB / 1.126 GB, free: 166.9 MB / 0.5138 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.002352/3.069, allocations: 461.9 kB / 1.126 GB, free: 166.8 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02744/3.096, allocations: 16.2 MB / 1.142 GB, free: 165.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.582e-05/3.096, allocations: 2.594 kB / 1.142 GB, free: 165.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.01378/3.11, allocations: 8.742 MB / 1.151 GB, free: 162.4 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01664/3.127, allocations: 2.42 MB / 1.153 GB, free: 161.6 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07664/3.203, allocations: 47.8 MB / 1.2 GB, free: 128.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02535/3.229, allocations: 13.21 MB / 1.213 GB, free: 118.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01363/3.243, allocations: 4.013 MB / 1.216 GB, free: 115.7 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003614/3.246, allocations: 0.6607 MB / 1.217 GB, free: 115 MB / 0.5138 GB Notification: Performance of SimCode: time 1.362e-06/3.246, allocations: 0 / 1.217 GB, free: 115 MB / 0.5138 GB Notification: Performance of Templates: time 0.4544/3.701, allocations: 152.2 MB / 1.366 GB, free: 117.8 MB / 0.5138 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)