Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 180.3 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 223.1 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008368/0.0008368, allocations: 92.92 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002538/0.0002538, allocations: 8 kB / 329.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2664, allocations: 47.57 MB / 377.3 MB, free: 46.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/0.6359, allocations: 153.2 MB / 0.518 GB, free: 65.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.6362, allocations: 107.1 kB / 0.5181 GB, free: 65.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35/1.986, allocations: 466.4 MB / 0.9736 GB, free: 4.316 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.987, allocations: 0 / 0.9736 GB, free: 4.316 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001616/1.988, allocations: 323.6 kB / 0.9739 GB, free: 4 MB / 442.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.609/2.597, allocations: 14.42 MB / 0.988 GB, free: 17.96 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/2.597, allocations: 7.219 kB / 0.988 GB, free: 17.96 MB / 442.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01062/2.608, allocations: 2.034 MB / 0.99 GB, free: 17.82 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03844/2.646, allocations: 6.749 MB / 0.9965 GB, free: 17.05 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03426/2.681, allocations: 11.5 MB / 1.008 GB, free: 15.82 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002882/2.684, allocations: 1.04 MB / 1.009 GB, free: 15.79 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008919/2.693, allocations: 1.358 MB / 1.01 GB, free: 15.78 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07434/2.767, allocations: 24.11 MB / 1.034 GB, free: 14.14 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009486/2.768, allocations: 19.12 kB / 1.034 GB, free: 14.14 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006674/2.775, allocations: 0.5832 MB / 1.034 GB, free: 14.14 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00137/2.776, allocations: 0.937 MB / 1.035 GB, free: 14.11 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05129/2.827, allocations: 22.06 MB / 1.057 GB, free: 13.64 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1531/2.981, allocations: 77.49 MB / 1.132 GB, free: 196 kB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3753/3.356, allocations: 32.7 MB / 1.164 GB, free: 51.96 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06706/3.423, allocations: 32.66 MB / 1.196 GB, free: 50.77 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.553e-05/3.423, allocations: 127.8 kB / 1.196 GB, free: 50.72 MB / 490.8 MB Notification: Performance of pre-optimization done (n=1021): time 1.134e-05/3.423, allocations: 0 / 1.196 GB, free: 50.72 MB / 490.8 MB Notification: Performance of matching and sorting (n=1029): time 0.2829/3.706, allocations: 94.38 MB / 1.289 GB, free: 33.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/3.706, allocations: 169.9 kB / 1.289 GB, free: 32.88 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006716/3.713, allocations: 4.327 MB / 1.293 GB, free: 29.23 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.002038/3.715, allocations: 169.7 kB / 1.293 GB, free: 29.06 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002356/3.717, allocations: 5.179 MB / 1.298 GB, free: 24.48 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003825/3.721, allocations: 3.369 MB / 1.301 GB, free: 21.43 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008657/3.722, allocations: 176 kB / 1.302 GB, free: 21.26 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006154/3.723, allocations: 0.7067 MB / 1.302 GB, free: 20.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009531/3.732, allocations: 6.829 MB / 1.309 GB, free: 14.81 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01202/3.744, allocations: 8.558 MB / 1.317 GB, free: 6.77 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01377/3.758, allocations: 8.212 MB / 1.325 GB, free: 15.86 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-05/3.758, allocations: 16 kB / 1.325 GB, free: 15.84 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.3308/4.089, allocations: 21.29 MB / 1.346 GB, free: 73.13 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9e-05/4.089, allocations: 21.81 kB / 1.346 GB, free: 73.13 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/4.089, allocations: 47.91 kB / 1.346 GB, free: 73.13 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01669/4.106, allocations: 8.521 MB / 1.354 GB, free: 72.93 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006799/4.113, allocations: 1.411 MB / 1.356 GB, free: 72.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02974/4.143, allocations: 28.14 MB / 1.383 GB, free: 64.79 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007316/4.15, allocations: 430.6 kB / 1.384 GB, free: 64.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002201/4.152, allocations: 373.5 kB / 1.384 GB, free: 64.79 MB / 0.4949 GB 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.01215/4.164, allocations: 5.368 MB / 1.389 GB, free: 64.68 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002737/4.167, allocations: 0.6952 MB / 1.39 GB, free: 64.68 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03656/4.204, allocations: 21.43 MB / 1.411 GB, free: 64.02 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000253/4.204, allocations: 245.3 kB / 1.411 GB, free: 64.02 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.988e-05/4.204, allocations: 15.55 kB / 1.411 GB, free: 64.02 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001531/4.204, allocations: 42.89 kB / 1.411 GB, free: 64.02 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08093/4.285, allocations: 40.43 MB / 1.451 GB, free: 49.04 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001317/4.285, allocations: 9.125 kB / 1.451 GB, free: 49.04 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005049/4.29, allocations: 0.9893 MB / 1.452 GB, free: 49.01 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01836/4.309, allocations: 8.602 MB / 1.46 GB, free: 46.42 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002434/4.311, allocations: 220.7 kB / 1.46 GB, free: 46.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03765/4.349, allocations: 32.51 MB / 1.492 GB, free: 22.32 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/4.349, allocations: 4 kB / 1.492 GB, free: 22.31 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3856/4.734, allocations: 33.91 MB / 1.525 GB, free: 74.96 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007267/4.742, allocations: 2.366 MB / 1.528 GB, free: 74.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002419/4.744, allocations: 164.8 kB / 1.528 GB, free: 74.87 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00495/4.749, allocations: 398 kB / 1.528 GB, free: 74.87 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002043/4.751, allocations: 0.798 MB / 1.529 GB, free: 74.86 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008256/4.752, allocations: 270.5 kB / 1.529 GB, free: 74.86 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.005939/4.758, allocations: 3.306 MB / 1.532 GB, free: 74.68 MB / 0.4949 GB Notification: Performance of sort global known variables: time 2.51e-07/4.758, allocations: 0 / 1.532 GB, free: 74.68 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01064/4.769, allocations: 2.653 MB / 1.535 GB, free: 74.68 MB / 0.4949 GB 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.0495/4.818, allocations: 33.72 MB / 1.568 GB, free: 71.93 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03778/4.856, allocations: 17.8 MB / 1.585 GB, free: 70.89 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/4.856, allocations: 3.375 kB / 1.585 GB, free: 70.89 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.02097/4.877, allocations: 10.35 MB / 1.595 GB, free: 69.83 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/4.888, allocations: 1.576 MB / 1.597 GB, free: 69.81 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4775/5.365, allocations: 129.4 MB / 1.723 GB, free: 90.19 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01539/5.38, allocations: 9.512 MB / 1.733 GB, free: 89.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007038/5.388, allocations: 1.995 MB / 1.734 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009174/5.397, allocations: 5.18 MB / 1.74 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of SimCode: time 9.62e-07/5.397, allocations: 0 / 1.74 GB, free: 89.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5774/5.974, allocations: 285.4 MB / 2.018 GB, free: 51.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/5.974, allocations: 254.1 kB / 2.019 GB, free: 50.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.514/14.49, allocations: 0 / 2.019 GB, free: 50.73 MB / 0.5105 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_YD.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)