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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001173/0.001173, allocations: 179.8 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.213/1.213, allocations: 194.5 MB / 211.6 MB, free: 3.062 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00153/0.00153, allocations: 119.7 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 8 kB / 311.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07892/0.07927, allocations: 44.49 MB / 356.4 MB, free: 1 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.3884, allocations: 161.9 MB / 0.5062 GB, free: 8.832 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.3887, allocations: 110.9 kB / 0.5063 GB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.897/3.286, allocations: 0.863 GB / 1.369 GB, free: 28.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.414e-06/3.286, allocations: 0 / 1.369 GB, free: 28.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.00169/3.288, allocations: 475 kB / 1.37 GB, free: 28.32 MB / 490.7 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.09012/3.378, allocations: 20.72 MB / 1.39 GB, free: 21.99 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/3.378, allocations: 13.56 kB / 1.39 GB, free: 21.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06058/3.438, allocations: 10.38 MB / 1.4 GB, free: 20.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0413/3.48, allocations: 15.88 MB / 1.416 GB, free: 18.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002305/3.482, allocations: 1.548 MB / 1.417 GB, free: 18.95 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01246/3.495, allocations: 2.013 MB / 1.419 GB, free: 18.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1024/3.597, allocations: 35.94 MB / 1.454 GB, free: 16.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000918/3.598, allocations: 29.08 kB / 1.454 GB, free: 16.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008279/3.606, allocations: 0.8645 MB / 1.455 GB, free: 16.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001665/3.608, allocations: 1.387 MB / 1.456 GB, free: 16.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0706/3.679, allocations: 32.71 MB / 1.488 GB, free: 6.082 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5928/4.271, allocations: 113.2 MB / 1.599 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04212/4.314, allocations: 44.26 MB / 1.642 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1048/4.418, allocations: 49.5 MB / 1.69 GB, free: 0 / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003041/4.419, allocations: 181.3 kB / 1.691 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1590): time 5.706e-05/4.419, allocations: 4 kB / 1.691 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1602): time 0.498/4.917, allocations: 73.93 MB / 1.763 GB, free: 80.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000252/4.917, allocations: 224.6 kB / 1.763 GB, free: 80.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01521/4.932, allocations: 5.981 MB / 1.769 GB, free: 80.26 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.003397/4.936, allocations: 249 kB / 1.769 GB, free: 80.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.005294/4.941, allocations: 7.335 MB / 1.776 GB, free: 76.66 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.007564/4.949, allocations: 5.242 MB / 1.781 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00343/4.952, allocations: 258 kB / 1.782 GB, free: 73.24 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001813/4.954, allocations: 0.9094 MB / 1.783 GB, free: 72.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01656/4.971, allocations: 10.4 MB / 1.793 GB, free: 72.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02199/4.993, allocations: 12.59 MB / 1.805 GB, free: 70.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02187/5.014, allocations: 12.33 MB / 1.817 GB, free: 70.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001185/5.015, allocations: 20.27 kB / 1.817 GB, free: 70.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1877) (initialization): time 0.06308/5.078, allocations: 31.91 MB / 1.848 GB, free: 58.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001565/5.078, allocations: 27.7 kB / 1.848 GB, free: 58.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001985/5.078, allocations: 52.78 kB / 1.848 GB, free: 58.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02991/5.108, allocations: 14.89 MB / 1.863 GB, free: 54.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009344/5.117, allocations: 2.11 MB / 1.865 GB, free: 54.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04217/5.16, allocations: 36.01 MB / 1.9 GB, free: 28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01212/5.172, allocations: 0.631 MB / 1.901 GB, free: 27.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004206/5.176, allocations: 0.527 MB / 1.901 GB, free: 27.04 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (1070): * Single equations (assignments): 1030 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * 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: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.01779/5.194, allocations: 7.898 MB / 1.909 GB, free: 20.44 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003216/5.197, allocations: 1.024 MB / 1.91 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3838/5.581, allocations: 33.76 MB / 1.943 GB, free: 82.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004657/5.581, allocations: 388.1 kB / 1.943 GB, free: 82.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001011/5.581, allocations: 15.62 kB / 1.943 GB, free: 82.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002501/5.582, allocations: 66.19 kB / 1.943 GB, free: 82.27 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1099/5.692, allocations: 60.91 MB / 2.003 GB, free: 79.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001208/5.692, allocations: 6.594 kB / 2.003 GB, free: 79.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007576/5.699, allocations: 1.645 MB / 2.004 GB, free: 79.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0267/5.726, allocations: 14.84 MB / 2.019 GB, free: 75.26 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004366/5.731, allocations: 339 kB / 2.019 GB, free: 75.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04381/5.774, allocations: 40.31 MB / 2.059 GB, free: 50.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/5.774, allocations: 2.719 kB / 2.059 GB, free: 50.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07532/5.85, allocations: 48.43 MB / 2.106 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01107/5.861, allocations: 3.514 MB / 2.109 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004034/5.865, allocations: 246.9 kB / 2.11 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008635/5.874, allocations: 0.6291 MB / 2.11 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003177/5.877, allocations: 1.169 MB / 2.111 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00142/5.878, allocations: 433.3 kB / 2.112 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.007671/5.886, allocations: 4.591 MB / 2.116 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.71e-07/5.886, allocations: 0 / 2.116 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02694/5.913, allocations: 5.64 MB / 2.122 GB, free: 6.117 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,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,booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (834): * Single equations (assignments): 793 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 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: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.321/6.234, allocations: 0.8066 MB / 2.123 GB, free: 83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.048/6.282, allocations: 26.65 MB / 2.149 GB, free: 81.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.226e-05/6.282, allocations: 2.047 kB / 2.149 GB, free: 81.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02698/6.309, allocations: 15.24 MB / 2.163 GB, free: 80.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01434/6.323, allocations: 2.337 MB / 2.166 GB, free: 80.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09528/6.419, allocations: 54.68 MB / 2.219 GB, free: 62.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02269/6.441, allocations: 13.9 MB / 2.233 GB, free: 60.71 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01151/6.453, allocations: 3.106 MB / 2.236 GB, free: 60.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002703/6.456, allocations: 0.6466 MB / 2.236 GB, free: 60.37 MB / 0.5417 GB Notification: Performance of SimCode: time 8.71e-07/6.456, allocations: 0 / 2.236 GB, free: 60.37 MB / 0.5417 GB Notification: Performance of Templates: time 0.7102/7.166, allocations: 284.1 MB / 2.514 GB, free: 8.031 MB / 0.573 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)