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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 93.06 kB / 16.65 MB, free: 6.59 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.001009/0.001009, allocations: 182.7 kB / 17.56 MB, free: 6.203 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.556/1.556, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004759/0.0004761, allocations: 12 kB / 282.1 MB, free: 2.004 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1144, allocations: 47.58 MB / 329.7 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03502/0.1495, allocations: 34.53 MB / 364.3 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02149/0.171, allocations: 9.578 MB / 373.8 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008989/0.18, allocations: 219.2 kB / 374 MB, free: 5.844 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009096/0.1892, allocations: 2.356 MB / 376.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2229/0.4121, allocations: 3.728 MB / 380.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008287/0.4205, allocations: 2.269 MB / 382.4 MB, free: 13.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02626/0.4468, allocations: 17.4 MB / 399.8 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04909/0.4959, allocations: 29.08 MB / 428.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01509/0.511, allocations: 6.13 MB / 435 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01586/0.5269, allocations: 7.47 MB / 442.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004923/0.5319, allocations: 0.9648 MB / 443.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009522/0.5414, allocations: 1.352 MB / 444.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006839/0.5483, allocations: 3.187 MB / 448 MB, free: 7.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01913/0.5675, allocations: 7.483 MB / 455.5 MB, free: 176 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0413/0.6088, allocations: 31.12 MB / 486.6 MB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.888e-06/0.6089, allocations: 4 kB / 486.6 MB, free: 1.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.939e-06/0.6089, allocations: 0 / 486.6 MB, free: 1.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001427/0.6104, allocations: 4 kB / 486.6 MB, free: 1.574 MB / 382.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.05438/0.6648, allocations: 16.1 MB / 0.4909 GB, free: 1.469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.094e-05/0.6648, allocations: 8.031 kB / 0.4909 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05478/0.7196, allocations: 9.726 MB / 0.5004 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02146/0.7411, allocations: 9.425 MB / 0.5096 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001429/0.7426, allocations: 1.076 MB / 0.5107 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006298/0.7489, allocations: 1.411 MB / 0.512 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06785/0.8168, allocations: 23.6 MB / 0.5351 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006594/0.8175, allocations: 19.84 kB / 0.5351 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004329/0.8218, allocations: 0.5818 MB / 0.5357 GB, free: 3.676 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008191/0.8227, allocations: 0.7991 MB / 0.5365 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4201/1.243, allocations: 22.23 MB / 0.5582 GB, free: 126.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1227/1.366, allocations: 75.27 MB / 0.6317 GB, free: 64.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02792/1.394, allocations: 38.1 MB / 0.6689 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009737/1.403, allocations: 6.477 MB / 0.6752 GB, free: 16.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03484/1.438, allocations: 18.32 MB / 0.6931 GB, free: 13.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/1.438, allocations: 99.17 kB / 0.6932 GB, free: 13.63 MB / 462.1 MB Notification: Performance of pre-optimization done (n=581): time 1.193e-05/1.438, allocations: 0 / 0.6932 GB, free: 13.63 MB / 462.1 MB Notification: Performance of matching and sorting (n=589): time 0.392/1.83, allocations: 36.96 MB / 0.7293 GB, free: 149.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.152e-05/1.831, allocations: 142.2 kB / 0.7294 GB, free: 149.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/1.842, allocations: 6.074 MB / 0.7354 GB, free: 147.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001206/1.843, allocations: 122 kB / 0.7355 GB, free: 147.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003931/1.847, allocations: 6.129 MB / 0.7415 GB, free: 142.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002286/1.85, allocations: 1.996 MB / 0.7434 GB, free: 141.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009456/1.851, allocations: 0.6512 MB / 0.744 GB, free: 140.9 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.639e-05/1.851, allocations: 304.9 kB / 0.7443 GB, free: 140.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005472/1.856, allocations: 4.253 MB / 0.7485 GB, free: 139 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007379/1.864, allocations: 7.175 MB / 0.7555 GB, free: 133.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/1.878, allocations: 12.09 MB / 0.7673 GB, free: 125.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.761e-05/1.878, allocations: 27.06 kB / 0.7673 GB, free: 125.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02545/1.904, allocations: 14.31 MB / 0.7813 GB, free: 119.9 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.176e-05/1.904, allocations: 44.47 kB / 0.7814 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001475/1.904, allocations: 93.81 kB / 0.7814 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006639/1.91, allocations: 2.767 MB / 0.7841 GB, free: 119.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006527/1.917, allocations: 1.691 MB / 0.7858 GB, free: 119 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03135/1.948, allocations: 29.33 MB / 0.8144 GB, free: 91.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007368/1.956, allocations: 443.5 kB / 0.8149 GB, free: 90.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001569/1.957, allocations: 396 kB / 0.8152 GB, free: 90.57 MB / 478.1 MB 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.01069/1.968, allocations: 5.411 MB / 0.8205 GB, free: 85.14 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001837/1.97, allocations: 0.6444 MB / 0.8212 GB, free: 84.49 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02137/1.991, allocations: 11.61 MB / 0.8325 GB, free: 72.79 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.255e-05/1.991, allocations: 63.75 kB / 0.8326 GB, free: 72.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-05/1.991, allocations: 28 kB / 0.8326 GB, free: 72.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-05/1.992, allocations: 27.89 kB / 0.8326 GB, free: 72.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04329/2.035, allocations: 24.49 MB / 0.8565 GB, free: 48.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.611e-05/2.035, allocations: 8.609 kB / 0.8565 GB, free: 48.08 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004146/2.039, allocations: 0.8659 MB / 0.8574 GB, free: 47.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006874/2.046, allocations: 2.813 MB / 0.8601 GB, free: 44.38 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001205/2.047, allocations: 136 kB / 0.8603 GB, free: 44.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03358/2.081, allocations: 31.92 MB / 0.8914 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/2.081, allocations: 11.94 kB / 0.8914 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2995/2.38, allocations: 16.94 MB / 0.908 GB, free: 133.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004219/2.385, allocations: 1.579 MB / 0.9095 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001623/2.386, allocations: 121.5 kB / 0.9096 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003754/2.39, allocations: 324.4 kB / 0.9099 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/2.391, allocations: 0.4902 MB / 0.9104 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003629/2.392, allocations: 171.6 kB / 0.9106 GB, free: 132.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006831/2.399, allocations: 4.1 MB / 0.9146 GB, free: 130.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.41e-07/2.399, allocations: 3.969 kB / 0.9146 GB, free: 130.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01254/2.411, allocations: 2.591 MB / 0.9171 GB, free: 130.5 MB / 478.1 MB 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,32.3%), (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.001534/2.413, allocations: 313.1 kB / 0.9174 GB, free: 130.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01981/2.433, allocations: 11.96 MB / 0.9291 GB, free: 125.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/2.433, allocations: 3.375 kB / 0.9291 GB, free: 125.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01109/2.444, allocations: 7.018 MB / 0.936 GB, free: 121.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01674/2.46, allocations: 1.642 MB / 0.9376 GB, free: 121.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05716/2.518, allocations: 32.6 MB / 0.9694 GB, free: 95.92 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02007/2.538, allocations: 9.126 MB / 0.9783 GB, free: 88.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01016/2.548, allocations: 2.637 MB / 0.9809 GB, free: 87.11 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002589/2.551, allocations: 465.4 kB / 0.9813 GB, free: 86.68 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/2.551, allocations: 4 kB / 0.9813 GB, free: 86.67 MB / 478.1 MB Notification: Performance of Templates: time 0.4034/2.954, allocations: 114 MB / 1.093 GB, free: 137.1 MB / 494.1 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)