Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006136/0.006136, allocations: 99.66 kB / 15.73 MB, free: 5.949 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.001308/0.001308, allocations: 196.4 kB / 16.68 MB, free: 5.875 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.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.001323/0.001323, allocations: 55.27 kB / 328 MB, free: 13.5 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1192, allocations: 46.63 MB / 374.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03622/0.1555, allocations: 36.57 MB / 411.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02626/0.1818, allocations: 9.772 MB / 421 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009582/0.1914, allocations: 223.2 kB / 421.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02443/0.216, allocations: 9.671 MB / 430.9 MB, free: 7.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01918/0.2352, allocations: 4.094 MB / 434.9 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.2452, allocations: 2.464 MB / 437.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.5475/0.7927, allocations: 17.08 MB / 454.5 MB, free: 7.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05562/0.8484, allocations: 31.23 MB / 485.7 MB, free: 3.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01829/0.8667, allocations: 8.841 MB / 494.6 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02015/0.8869, allocations: 9.614 MB / 0.4924 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009046/0.896, allocations: 2.512 MB / 0.4948 GB, free: 7.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01199/0.908, allocations: 2.903 MB / 0.4976 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01211/0.9202, allocations: 5.026 MB / 0.5026 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02707/0.9473, allocations: 9.526 MB / 0.5119 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05051/0.9979, allocations: 33.21 MB / 0.5443 GB, free: 9.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.9979, allocations: 0 / 0.5443 GB, free: 9.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.9979, allocations: 0 / 0.5443 GB, free: 9.242 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001176/0.9991, allocations: 0 / 0.5443 GB, free: 9.242 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: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.07947/1.079, allocations: 19.31 MB / 0.5631 GB, free: 5.965 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/1.079, allocations: 12.03 kB / 0.5632 GB, free: 5.953 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05649/1.135, allocations: 9.722 MB / 0.5726 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02686/1.162, allocations: 9.495 MB / 0.5819 GB, free: 3.207 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001618/1.164, allocations: 1.069 MB / 0.583 GB, free: 2.152 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009276/1.173, allocations: 1.395 MB / 0.5843 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08008/1.253, allocations: 23.58 MB / 0.6074 GB, free: 9.129 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009501/1.254, allocations: 27.17 kB / 0.6074 GB, free: 9.105 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006765/1.261, allocations: 0.5759 MB / 0.6079 GB, free: 8.543 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001144/1.262, allocations: 0.8068 MB / 0.6087 GB, free: 7.734 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05787/1.32, allocations: 22.21 MB / 0.6304 GB, free: 1.523 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4126/1.733, allocations: 74.07 MB / 0.7027 GB, free: 116 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03078/1.764, allocations: 38.09 MB / 0.7399 GB, free: 80.64 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01017/1.774, allocations: 6.509 MB / 0.7463 GB, free: 75.65 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03269/1.806, allocations: 18.23 MB / 0.7641 GB, free: 57.48 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.005e-05/1.807, allocations: 99.17 kB / 0.7642 GB, free: 57.37 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=581): time 7.013e-06/1.807, allocations: 0 / 0.7642 GB, free: 57.37 MB / 0.5138 GB Notification: Performance of matching and sorting (n=589): time 0.09232/1.899, allocations: 37.23 MB / 0.8006 GB, free: 19.86 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/1.899, allocations: 137.8 kB / 0.8007 GB, free: 19.7 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0093/1.908, allocations: 6.068 MB / 0.8066 GB, free: 13.62 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001598/1.91, allocations: 125.7 kB / 0.8067 GB, free: 13.49 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003665/1.914, allocations: 6.123 MB / 0.8127 GB, free: 7.332 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.003209/1.917, allocations: 1.993 MB / 0.8147 GB, free: 5.355 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003106/1.92, allocations: 1.596 MB / 0.8162 GB, free: 3.746 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 6.19e-05/1.92, allocations: 301.1 kB / 0.8165 GB, free: 3.449 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00669/1.927, allocations: 4.232 MB / 0.8206 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/1.939, allocations: 7.16 MB / 0.8276 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3334/2.272, allocations: 12.05 MB / 0.8394 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001447/2.273, allocations: 30.5 kB / 0.8394 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02996/2.303, allocations: 14.27 MB / 0.8534 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.467e-05/2.303, allocations: 49.03 kB / 0.8534 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/2.303, allocations: 95.03 kB / 0.8535 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007018/2.31, allocations: 2.763 MB / 0.8562 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006789/2.317, allocations: 1.689 MB / 0.8579 GB, free: 159 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03651/2.353, allocations: 31.61 MB / 0.8887 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008429/2.362, allocations: 437.9 kB / 0.8891 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00214/2.364, allocations: 390.3 kB / 0.8895 GB, free: 139.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 429 * Number of states: 0 () * Number of discrete variables: 12 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (881): * Single equations (assignments): 874 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * 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): 6 systems {(1,8,100.0%), (9,19,33.3%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (24,96,32.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0143/2.378, allocations: 5.427 MB / 0.8948 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00195/2.38, allocations: 0.6353 MB / 0.8954 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01966/2.4, allocations: 11.56 MB / 0.9067 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-05/2.4, allocations: 63.84 kB / 0.9068 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001092/2.4, allocations: 32 kB / 0.9068 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/2.4, allocations: 30.98 kB / 0.9068 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05264/2.453, allocations: 24.41 MB / 0.9307 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-05/2.453, allocations: 8.031 kB / 0.9307 GB, free: 104.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004391/2.457, allocations: 0.8698 MB / 0.9315 GB, free: 104 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007256/2.465, allocations: 2.814 MB / 0.9343 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001701/2.466, allocations: 140 kB / 0.9344 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03532/2.502, allocations: 34.57 MB / 0.9682 GB, free: 65.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/2.502, allocations: 11.98 kB / 0.9682 GB, free: 65.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02971/2.531, allocations: 16.88 MB / 0.9847 GB, free: 48.64 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006939/2.538, allocations: 1.566 MB / 0.9862 GB, free: 47.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00258/2.541, allocations: 122.5 kB / 0.9863 GB, free: 46.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0062/2.547, allocations: 311.7 kB / 0.9866 GB, free: 46.63 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002303/2.55, allocations: 0.4971 MB / 0.9871 GB, free: 46.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004758/2.55, allocations: 172 kB / 0.9873 GB, free: 45.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007751/2.558, allocations: 4.096 MB / 0.9913 GB, free: 41.86 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.1e-07/2.558, allocations: 0 / 0.9913 GB, free: 41.86 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0132/2.571, allocations: 2.596 MB / 0.9938 GB, free: 39.27 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (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,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,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (446): * Single equations (assignments): 438 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (24,96,34.7%), (1,1,100.0%), (1,8,100.0%), (9,19,33.3%), (1,13,100.0%), (1,8,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.00182/2.573, allocations: 304.8 kB / 0.9941 GB, free: 38.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01983/2.593, allocations: 11.96 MB / 1.006 GB, free: 26.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.489e-05/2.593, allocations: 8.062 kB / 1.006 GB, free: 26.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01327/2.606, allocations: 6.995 MB / 1.013 GB, free: 19.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01113/2.617, allocations: 1.74 MB / 1.014 GB, free: 18.06 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3476/2.965, allocations: 26.09 MB / 1.04 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02495/2.99, allocations: 9.134 MB / 1.049 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008798/2.999, allocations: 2.631 MB / 1.051 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001506/3, allocations: 469.5 kB / 1.052 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.302e-06/3, allocations: 0 / 1.052 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.1868/3.187, allocations: 115.4 MB / 1.164 GB, free: 59.03 MB / 0.5294 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)