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_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00109/0.00109, allocations: 179.6 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.201/1.201, allocations: 194.5 MB / 211.6 MB, free: 3.039 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.001551/0.001551, allocations: 116.4 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000293/0.000293, allocations: 8 kB / 311.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07643/0.07674, allocations: 44.5 MB / 356.4 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2966/0.3733, allocations: 147.8 MB / 0.4924 GB, free: 6.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.3736, allocations: 105.8 kB / 0.4925 GB, free: 6.781 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.326/1.699, allocations: 468.3 MB / 0.9498 GB, free: 31.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.699, allocations: 0 / 0.9498 GB, free: 31.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009648/1.7, allocations: 335.5 kB / 0.9501 GB, free: 31.85 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.0467/1.747, allocations: 14.41 MB / 0.9642 GB, free: 18.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.747, allocations: 12.03 kB / 0.9642 GB, free: 18.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03599/1.783, allocations: 6.744 MB / 0.9708 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03252/1.816, allocations: 11.51 MB / 0.982 GB, free: 0 / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2704/2.086, allocations: 1.038 MB / 0.9831 GB, free: 26.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006603/2.093, allocations: 1.356 MB / 0.9844 GB, free: 26.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06469/2.157, allocations: 24.11 MB / 1.008 GB, free: 24.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009162/2.158, allocations: 20.34 kB / 1.008 GB, free: 24.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007625/2.166, allocations: 0.582 MB / 1.009 GB, free: 24.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002031/2.168, allocations: 0.9441 MB / 1.009 GB, free: 24.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04885/2.217, allocations: 22.05 MB / 1.031 GB, free: 24.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1422/2.359, allocations: 77.4 MB / 1.107 GB, free: 5.324 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03665/2.396, allocations: 30.78 MB / 1.137 GB, free: 12.19 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3387/2.735, allocations: 33.9 MB / 1.17 GB, free: 66.76 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.492e-05/2.735, allocations: 132.3 kB / 1.17 GB, free: 66.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1021): time 1.059e-05/2.735, allocations: 0 / 1.17 GB, free: 66.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=1029): time 0.2769/3.012, allocations: 94.38 MB / 1.262 GB, free: 58.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/3.012, allocations: 171.2 kB / 1.262 GB, free: 58.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008525/3.02, allocations: 4.322 MB / 1.266 GB, free: 58.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002771/3.023, allocations: 169.5 kB / 1.267 GB, free: 58.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003624/3.027, allocations: 5.185 MB / 1.272 GB, free: 54.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004944/3.032, allocations: 3.376 MB / 1.275 GB, free: 52.11 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009071/3.033, allocations: 173.3 kB / 1.275 GB, free: 51.98 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000653/3.033, allocations: 0.7093 MB / 1.276 GB, free: 51.49 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009286/3.043, allocations: 6.836 MB / 1.282 GB, free: 48.66 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/3.056, allocations: 8.545 MB / 1.291 GB, free: 41.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/3.069, allocations: 8.113 MB / 1.299 GB, free: 34.61 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.94e-05/3.069, allocations: 12 kB / 1.299 GB, free: 34.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.03831/3.107, allocations: 21.29 MB / 1.32 GB, free: 16.05 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.491e-05/3.108, allocations: 28.03 kB / 1.32 GB, free: 16.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001277/3.108, allocations: 44 kB / 1.32 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3295/3.437, allocations: 8.515 MB / 1.328 GB, free: 65.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006715/3.444, allocations: 1.403 MB / 1.329 GB, free: 65.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03133/3.475, allocations: 28.13 MB / 1.357 GB, free: 57.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009744/3.485, allocations: 431.5 kB / 1.357 GB, free: 57.29 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004438/3.49, allocations: 381.2 kB / 1.358 GB, free: 57.29 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 197 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 706 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.01413/3.504, allocations: 5.359 MB / 1.363 GB, free: 57.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002167/3.506, allocations: 0.694 MB / 1.363 GB, free: 57.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03711/3.543, allocations: 21.43 MB / 1.384 GB, free: 56.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002709/3.543, allocations: 251.3 kB / 1.385 GB, free: 56.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.675e-05/3.543, allocations: 12.66 kB / 1.385 GB, free: 56.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001669/3.544, allocations: 44.02 kB / 1.385 GB, free: 56.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08335/3.627, allocations: 40.46 MB / 1.424 GB, free: 41.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001063/3.627, allocations: 0 / 1.424 GB, free: 41.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005072/3.632, allocations: 0.9888 MB / 1.425 GB, free: 41.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01922/3.651, allocations: 8.606 MB / 1.434 GB, free: 39.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002538/3.654, allocations: 216.1 kB / 1.434 GB, free: 38.97 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03674/3.691, allocations: 32.52 MB / 1.466 GB, free: 16.43 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/3.691, allocations: 6.719 kB / 1.466 GB, free: 16.42 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06363/3.754, allocations: 32.47 MB / 1.497 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008831/3.763, allocations: 2.369 MB / 1.5 GB, free: 3.863 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003597/3.767, allocations: 160 kB / 1.5 GB, free: 3.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007149/3.774, allocations: 394.9 kB / 1.5 GB, free: 3.422 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003553/3.778, allocations: 0.7977 MB / 1.501 GB, free: 2.914 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002449/3.78, allocations: 360.9 kB / 1.501 GB, free: 2.891 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.3128/4.093, allocations: 3.308 MB / 1.504 GB, free: 81.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/4.093, allocations: 3.719 kB / 1.504 GB, free: 81.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01342/4.106, allocations: 2.65 MB / 1.507 GB, free: 81.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (520): * Single equations (assignments): 490 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * 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%) 13,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.002645/4.109, allocations: 0.6079 MB / 1.508 GB, free: 81.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03216/4.141, allocations: 17.81 MB / 1.525 GB, free: 80.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/4.141, allocations: 4.656 kB / 1.525 GB, free: 80.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02097/4.162, allocations: 10.35 MB / 1.535 GB, free: 79.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01094/4.173, allocations: 1.57 MB / 1.537 GB, free: 79.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06595/4.239, allocations: 36.68 MB / 1.572 GB, free: 66.55 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0145/4.254, allocations: 9.505 MB / 1.582 GB, free: 65.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009933/4.264, allocations: 1.998 MB / 1.584 GB, free: 65.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002129/4.266, allocations: 445.4 kB / 1.584 GB, free: 65.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.011e-06/4.266, allocations: 0 / 1.584 GB, free: 65.16 MB / 490.7 MB Notification: Performance of Templates: time 0.5455/4.812, allocations: 188.6 MB / 1.768 GB, free: 52.93 MB / 490.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)