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.001535/0.001535, allocations: 182 kB / 13.64 MB, free: 1.676 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.474/1.474, allocations: 194.2 MB / 208.4 MB, free: 6.723 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.001601/0.001601, allocations: 116.7 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/2.996e-05, allocations: 4 kB / 306 MB, free: 28.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08294/0.08298, allocations: 44.5 MB / 350.4 MB, free: 260 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.5011, allocations: 161.8 MB / 0.5003 GB, free: 13.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5014, allocations: 104.9 kB / 0.5004 GB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.976/4.478, allocations: 0.8628 GB / 1.363 GB, free: 11.01 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.463e-06/4.478, allocations: 0 / 1.363 GB, free: 11.01 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.001851/4.48, allocations: 481.3 kB / 1.364 GB, free: 10.97 MB / 474.8 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.07606/4.556, allocations: 19.58 MB / 1.383 GB, free: 5.266 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/4.556, allocations: 6.5 kB / 1.383 GB, free: 5.266 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05688/4.613, allocations: 10.32 MB / 1.393 GB, free: 4.078 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04388/4.657, allocations: 15.83 MB / 1.408 GB, free: 2.273 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00225/4.659, allocations: 1.551 MB / 1.41 GB, free: 2.23 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01059/4.67, allocations: 2.017 MB / 1.412 GB, free: 2.215 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0996/4.769, allocations: 35.51 MB / 1.446 GB, free: 15.79 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009432/4.77, allocations: 33.52 kB / 1.447 GB, free: 15.78 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008262/4.779, allocations: 0.8704 MB / 1.447 GB, free: 15.78 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001637/4.78, allocations: 1.382 MB / 1.449 GB, free: 15.73 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06828/4.849, allocations: 32.13 MB / 1.48 GB, free: 11.32 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7499/5.598, allocations: 113 MB / 1.59 GB, free: 32.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04426/5.643, allocations: 43.98 MB / 1.633 GB, free: 29.06 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03034/5.673, allocations: 16.33 MB / 1.649 GB, free: 28.9 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1172/5.79, allocations: 50.39 MB / 1.699 GB, free: 16.81 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/5.791, allocations: 180.4 kB / 1.699 GB, free: 16.67 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1576): time 2.506e-05/5.791, allocations: 0 / 1.699 GB, free: 16.67 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1588): time 0.5183/6.309, allocations: 59.68 MB / 1.757 GB, free: 77.04 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/6.309, allocations: 223.5 kB / 1.757 GB, free: 76.93 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01343/6.323, allocations: 5.919 MB / 1.763 GB, free: 76.57 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.003851/6.326, allocations: 243.8 kB / 1.763 GB, free: 76.54 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.005886/6.332, allocations: 7.353 MB / 1.77 GB, free: 74.58 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.008042/6.34, allocations: 5.204 MB / 1.776 GB, free: 71.19 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001796/6.342, allocations: 258.1 kB / 1.776 GB, free: 71.19 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.001196/6.343, allocations: 0.9027 MB / 1.777 GB, free: 70.86 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01574/6.359, allocations: 10.16 MB / 1.787 GB, free: 70.82 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01835/6.378, allocations: 12.37 MB / 1.799 GB, free: 68.86 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01899/6.397, allocations: 12.11 MB / 1.81 GB, free: 68.68 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/6.397, allocations: 16.39 kB / 1.81 GB, free: 68.68 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1865) (initialization): time 0.0508/6.448, allocations: 31.27 MB / 1.841 GB, free: 67.59 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 7.97e-05/6.448, allocations: 24.75 kB / 1.841 GB, free: 67.59 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001298/6.448, allocations: 50.38 kB / 1.841 GB, free: 67.59 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02649/6.474, allocations: 14.61 MB / 1.855 GB, free: 65.97 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009603/6.484, allocations: 2.092 MB / 1.857 GB, free: 65.91 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03911/6.523, allocations: 35.63 MB / 1.892 GB, free: 44.94 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01171/6.535, allocations: 0.6243 MB / 1.893 GB, free: 44.73 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003454/6.538, allocations: 0.5269 MB / 1.893 GB, free: 44.62 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1018 * 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 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(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.003432/6.542, allocations: 0.7642 MB / 1.894 GB, free: 44.1 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00271/6.545, allocations: 1.008 MB / 1.895 GB, free: 43.56 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05746/6.602, allocations: 31.91 MB / 1.926 GB, free: 22.99 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000386/6.602, allocations: 384 kB / 1.927 GB, free: 22.66 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.821e-05/6.602, allocations: 12 kB / 1.927 GB, free: 22.64 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002314/6.603, allocations: 67.36 kB / 1.927 GB, free: 22.64 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.535/7.138, allocations: 60.46 MB / 1.986 GB, free: 73.71 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001835/7.138, allocations: 3.656 kB / 1.986 GB, free: 73.71 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007914/7.146, allocations: 1.619 MB / 1.987 GB, free: 73.71 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03008/7.176, allocations: 14.8 MB / 2.002 GB, free: 73.18 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004269/7.18, allocations: 344.6 kB / 2.002 GB, free: 73.18 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04532/7.226, allocations: 39.89 MB / 2.041 GB, free: 61.26 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/7.226, allocations: 4.656 kB / 2.041 GB, free: 61.26 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08573/7.311, allocations: 47.39 MB / 2.087 GB, free: 44.4 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01207/7.324, allocations: 3.486 MB / 2.091 GB, free: 42.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005724/7.329, allocations: 245.8 kB / 2.091 GB, free: 42.57 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01169/7.341, allocations: 0.6238 MB / 2.092 GB, free: 42.11 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005393/7.346, allocations: 1.166 MB / 2.093 GB, free: 41.37 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003685/7.35, allocations: 418.2 kB / 2.093 GB, free: 40.99 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0106/7.361, allocations: 4.53 MB / 2.098 GB, free: 36.96 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.81e-07/7.361, allocations: 0 / 2.098 GB, free: 36.96 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01992/7.381, allocations: 3.896 MB / 2.101 GB, free: 33.08 MB / 0.5418 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (820): * Single equations (assignments): 779 * 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,(3,88.9%) 25,(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.004635/7.385, allocations: 0.9112 MB / 2.102 GB, free: 32.43 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0461/7.432, allocations: 26.15 MB / 2.128 GB, free: 9.16 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/7.432, allocations: 0 / 2.128 GB, free: 9.16 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.4209/7.852, allocations: 16.46 MB / 2.144 GB, free: 72.37 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01598/7.868, allocations: 2.336 MB / 2.146 GB, free: 72.34 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08975/7.958, allocations: 40.82 MB / 2.186 GB, free: 66.46 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03245/7.991, allocations: 13.89 MB / 2.2 GB, free: 65.06 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01612/8.007, allocations: 3.089 MB / 2.203 GB, free: 64.73 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004869/8.012, allocations: 0.6418 MB / 2.203 GB, free: 64.73 MB / 0.5418 GB Notification: Performance of SimCode: time 1.052e-06/8.012, allocations: 0 / 2.203 GB, free: 64.73 MB / 0.5418 GB Notification: Performance of Templates: time 0.7697/8.782, allocations: 269.1 MB / 2.466 GB, free: 30.66 MB / 0.5418 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)