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.001284/0.001284, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001092/0.001092, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.542/1.542, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.00122/0.00122, allocations: 60.12 kB / 281.4 MB, free: 1.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 46.62 MB / 328 MB, free: 3.051 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer): time 0.04888/0.154, allocations: 49.5 MB / 377.5 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3017/0.4558, allocations: 12.93 MB / 390.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01988/0.4757, allocations: 321.5 kB / 390.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03374/0.5095, allocations: 13.85 MB / 404.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02406/0.5336, allocations: 5.471 MB / 410.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.5483, allocations: 3.282 MB / 413.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0519/0.6002, allocations: 24.24 MB / 437.6 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1384/0.7386, allocations: 47.15 MB / 484.8 MB, free: 2.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03394/0.7726, allocations: 12.64 MB / 497.4 MB, free: 6.172 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03307/0.8057, allocations: 13.95 MB / 0.4994 GB, free: 8.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01445/0.8202, allocations: 3.641 MB / 0.503 GB, free: 4.996 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02242/0.8427, allocations: 4.123 MB / 0.507 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01424/0.857, allocations: 7.351 MB / 0.5142 GB, free: 9.629 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03402/0.8911, allocations: 13.88 MB / 0.5277 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5619/1.453, allocations: 48.35 MB / 0.5749 GB, free: 82.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/1.453, allocations: 0 / 0.5749 GB, free: 82.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.376e-06/1.453, allocations: 3.984 kB / 0.5749 GB, free: 82.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.002057/1.455, allocations: 0 / 0.5749 GB, free: 82.21 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.1276/1.583, allocations: 27.85 MB / 0.6021 GB, free: 66.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.583, allocations: 10 kB / 0.6021 GB, free: 66.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0806/1.663, allocations: 14.88 MB / 0.6167 GB, free: 54.3 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03899/1.702, allocations: 13.34 MB / 0.6297 GB, free: 41.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00193/1.704, allocations: 1.593 MB / 0.6312 GB, free: 40.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01361/1.718, allocations: 2.094 MB / 0.6333 GB, free: 37.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1198/1.838, allocations: 35.17 MB / 0.6676 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001503/1.839, allocations: 31.08 kB / 0.6677 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01364/1.853, allocations: 0.865 MB / 0.6685 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001257/1.854, allocations: 1.177 MB / 0.6697 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09289/1.947, allocations: 33 MB / 0.7019 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5244/2.472, allocations: 109 MB / 0.8083 GB, free: 99.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04542/2.517, allocations: 55.88 MB / 0.8629 GB, free: 39.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01673/2.534, allocations: 9.945 MB / 0.8726 GB, free: 29.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0573/2.591, allocations: 27.38 MB / 0.8993 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/2.591, allocations: 129.9 kB / 0.8994 GB, free: 2.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=894): time 1.331e-05/2.591, allocations: 0 / 0.8994 GB, free: 2.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=906): time 0.3047/2.896, allocations: 39.47 MB / 0.938 GB, free: 143.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/2.896, allocations: 176.3 kB / 0.9382 GB, free: 143.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01638/2.913, allocations: 8.517 MB / 0.9465 GB, free: 140.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001915/2.915, allocations: 173.7 kB / 0.9466 GB, free: 140.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005157/2.92, allocations: 8.83 MB / 0.9553 GB, free: 132.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003333/2.923, allocations: 3.064 MB / 0.9583 GB, free: 129.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004306/2.927, allocations: 2.27 MB / 0.9605 GB, free: 127.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.251e-05/2.927, allocations: 305.1 kB / 0.9608 GB, free: 127.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008699/2.936, allocations: 6.307 MB / 0.9669 GB, free: 122 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01239/2.949, allocations: 10.26 MB / 0.9769 GB, free: 111.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0206/2.969, allocations: 17.62 MB / 0.9942 GB, free: 93.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/2.969, allocations: 36 kB / 0.9942 GB, free: 93.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=1523) (initialization): time 0.03784/3.007, allocations: 20.64 MB / 1.014 GB, free: 73.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.009e-05/3.007, allocations: 59.94 kB / 1.014 GB, free: 73.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001635/3.008, allocations: 128 kB / 1.015 GB, free: 73.77 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=. Notification: Performance of postOpt tearingSystem (initialization): time 0.002249/3.01, allocations: 0.8771 MB / 1.015 GB, free: 72.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009723/3.019, allocations: 2.492 MB / 1.018 GB, free: 70.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009055/3.029, allocations: 12.47 MB / 1.03 GB, free: 57.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/3.039, allocations: 0.6228 MB / 1.031 GB, free: 56.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003033/3.042, allocations: 0.5351 MB / 1.031 GB, free: 56.07 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 (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.01599/3.058, allocations: 7.994 MB / 1.039 GB, free: 48.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00251/3.061, allocations: 0.9146 MB / 1.04 GB, free: 47.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03136/3.092, allocations: 17.07 MB / 1.056 GB, free: 29.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.21e-05/3.092, allocations: 88 kB / 1.057 GB, free: 29.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001047/3.092, allocations: 47.83 kB / 1.057 GB, free: 29.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002147/3.093, allocations: 43.83 kB / 1.057 GB, free: 29.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2962/3.389, allocations: 36.08 MB / 1.092 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-05/3.389, allocations: 6.125 kB / 1.092 GB, free: 134.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00803/3.397, allocations: 1.427 MB / 1.093 GB, free: 134.3 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=. Notification: Performance of postOpt tearingSystem (simulation): time 0.003028/3.4, allocations: 0.9147 MB / 1.094 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00264/3.403, allocations: 211 kB / 1.094 GB, free: 134.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/3.416, allocations: 17.06 MB / 1.111 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/3.416, allocations: 10.78 kB / 1.111 GB, free: 124.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03923/3.455, allocations: 24.81 MB / 1.135 GB, free: 114.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007784/3.463, allocations: 2.251 MB / 1.137 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00467/3.467, allocations: 177.9 kB / 1.138 GB, free: 113.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008683/3.476, allocations: 492.4 kB / 1.138 GB, free: 113 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003057/3.479, allocations: 0.793 MB / 1.139 GB, free: 112.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001812/3.481, allocations: 256.2 kB / 1.139 GB, free: 112.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01407/3.495, allocations: 5.779 MB / 1.145 GB, free: 108.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.41e-07/3.495, allocations: 0 / 1.145 GB, free: 108.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.02267/3.518, allocations: 3.502 MB / 1.148 GB, free: 104.8 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 (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.002892/3.521, allocations: 475.1 kB / 1.149 GB, free: 104.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.08123/3.602, allocations: 36.27 MB / 1.184 GB, free: 70.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/3.602, allocations: 4.125 kB / 1.184 GB, free: 70.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01431/3.616, allocations: 8.753 MB / 1.193 GB, free: 62.59 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01524/3.632, allocations: 2.559 MB / 1.195 GB, free: 60.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07471/3.706, allocations: 38.87 MB / 1.233 GB, free: 23.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03021/3.737, allocations: 13.21 MB / 1.246 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01684/3.754, allocations: 4.014 MB / 1.25 GB, free: 5.914 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004708/3.758, allocations: 0.6712 MB / 1.251 GB, free: 5.242 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/3.758, allocations: 0 / 1.251 GB, free: 5.242 MB / 494.1 MB Notification: Performance of Templates: time 0.4715/4.23, allocations: 154.8 MB / 1.402 GB, free: 33.77 MB / 0.4982 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)