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.00113/0.00113, allocations: 85.64 kB / 16.31 MB, free: 6.449 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.001185/0.001185, allocations: 180.7 kB / 17.21 MB, free: 6.32 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.602/1.602, allocations: 205.4 MB / 223.4 MB, free: 5.277 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.0005013/0.0005014, allocations: 12 kB / 281.5 MB, free: 11.32 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2764, allocations: 47.59 MB / 329.1 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03253/0.309, allocations: 32.01 MB / 361.1 MB, free: 3.199 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02393/0.333, allocations: 9.074 MB / 370.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009604/0.3426, allocations: 211.2 kB / 370.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008529/0.3512, allocations: 1.786 MB / 372.2 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01432/0.3656, allocations: 3.421 MB / 375.6 MB, free: 4.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007374/0.373, allocations: 1.699 MB / 377.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02968/0.4027, allocations: 19.45 MB / 396.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05323/0.4559, allocations: 24.52 MB / 421.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.4682, allocations: 6.272 MB / 427.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01328/0.4815, allocations: 7.141 MB / 434.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004462/0.486, allocations: 0.9687 MB / 435.6 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007085/0.4931, allocations: 1.32 MB / 437 MB, free: 7.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005847/0.499, allocations: 3.134 MB / 440.1 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00767/0.5067, allocations: 3.17 MB / 443.3 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4463/0.953, allocations: 27.95 MB / 471.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.9531, allocations: 0 / 471.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.9531, allocations: 0 / 471.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001121/0.9542, allocations: 0 / 471.2 MB, free: 36.82 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.04914/1.003, allocations: 16.26 MB / 487.5 MB, free: 29.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.003, allocations: 7.844 kB / 487.5 MB, free: 29.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05003/1.053, allocations: 9.724 MB / 497.2 MB, free: 25.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02265/1.076, allocations: 9.268 MB / 0.4946 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001251/1.077, allocations: 1.076 MB / 0.4957 GB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008032/1.085, allocations: 1.408 MB / 0.497 GB, free: 22.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0701/1.156, allocations: 23.48 MB / 0.52 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008535/1.157, allocations: 26.45 kB / 0.52 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00634/1.163, allocations: 0.5836 MB / 0.5206 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008961/1.164, allocations: 0.7992 MB / 0.5213 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05534/1.219, allocations: 22.12 MB / 0.5429 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1476/1.367, allocations: 75.23 MB / 0.6164 GB, free: 6.723 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2586/1.625, allocations: 38.04 MB / 0.6536 GB, free: 133.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01097/1.636, allocations: 6.471 MB / 0.6599 GB, free: 131.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03594/1.672, allocations: 18.32 MB / 0.6778 GB, free: 123.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.637e-05/1.673, allocations: 92.95 kB / 0.6778 GB, free: 123.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=581): time 1.018e-05/1.673, allocations: 3.812 kB / 0.6779 GB, free: 123.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=589): time 0.1085/1.781, allocations: 39.67 MB / 0.7166 GB, free: 94.09 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.781, allocations: 141.7 kB / 0.7167 GB, free: 93.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/1.795, allocations: 6.025 MB / 0.7226 GB, free: 87.89 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001683/1.796, allocations: 121.7 kB / 0.7227 GB, free: 87.77 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005039/1.801, allocations: 6.12 MB / 0.7287 GB, free: 81.61 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003704/1.805, allocations: 1.997 MB / 0.7307 GB, free: 79.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/1.808, allocations: 167.9 kB / 0.7308 GB, free: 79.47 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.001176/1.809, allocations: 0.6409 MB / 0.7314 GB, free: 78.82 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008087/1.817, allocations: 4.217 MB / 0.7356 GB, free: 74.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009661/1.827, allocations: 7.148 MB / 0.7425 GB, free: 66.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/1.837, allocations: 5.661 MB / 0.7481 GB, free: 60.44 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.837, allocations: 28 kB / 0.7481 GB, free: 60.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02912/1.866, allocations: 14.23 MB / 0.762 GB, free: 46.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/1.866, allocations: 47.98 kB / 0.762 GB, free: 46.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/1.867, allocations: 96 kB / 0.7621 GB, free: 45.98 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007137/1.874, allocations: 2.764 MB / 0.7648 GB, free: 43.19 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007165/1.881, allocations: 1.692 MB / 0.7665 GB, free: 41.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03415/1.915, allocations: 29.28 MB / 0.7951 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007422/1.922, allocations: 443.6 kB / 0.7955 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.924, allocations: 391.4 kB / 0.7959 GB, free: 10.61 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 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (881): * Single equations (assignments): 874 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * 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: 6 {(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(24,33.0%) 96} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01362/1.938, allocations: 5.426 MB / 0.8012 GB, free: 5.172 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002984/1.941, allocations: 0.6445 MB / 0.8018 GB, free: 4.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2789/2.22, allocations: 11.57 MB / 0.8131 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.692e-05/2.22, allocations: 58.59 kB / 0.8131 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.813e-05/2.22, allocations: 27.5 kB / 0.8132 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.331e-05/2.22, allocations: 27 kB / 0.8132 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04321/2.264, allocations: 24.44 MB / 0.8371 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/2.264, allocations: 7.844 kB / 0.8371 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003488/2.267, allocations: 0.8713 MB / 0.8379 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006341/2.273, allocations: 2.8 MB / 0.8407 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009582/2.274, allocations: 137.5 kB / 0.8408 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03355/2.308, allocations: 31.86 MB / 0.8719 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/2.308, allocations: 11.94 kB / 0.8719 GB, free: 114.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02563/2.334, allocations: 16.86 MB / 0.8884 GB, free: 99.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005075/2.339, allocations: 1.576 MB / 0.8899 GB, free: 98.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002006/2.341, allocations: 123.9 kB / 0.89 GB, free: 98.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004146/2.345, allocations: 325.8 kB / 0.8904 GB, free: 98.05 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001311/2.346, allocations: 0.4966 MB / 0.8908 GB, free: 97.55 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004072/2.347, allocations: 168 kB / 0.891 GB, free: 97.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007423/2.354, allocations: 4.057 MB / 0.895 GB, free: 93.33 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.01e-07/2.354, allocations: 0 / 0.895 GB, free: 93.33 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01315/2.367, allocations: 2.593 MB / 0.8975 GB, free: 90.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(24,32.3%) 96,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001677/2.369, allocations: 306.4 kB / 0.8978 GB, free: 90.45 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01936/2.388, allocations: 11.91 MB / 0.9094 GB, free: 78.49 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/2.388, allocations: 4.125 kB / 0.9094 GB, free: 78.48 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01222/2.401, allocations: 7 MB / 0.9163 GB, free: 71.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0123/2.413, allocations: 1.669 MB / 0.9179 GB, free: 69.78 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05586/2.469, allocations: 31.19 MB / 0.9484 GB, free: 38.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0169/2.486, allocations: 9.125 MB / 0.9573 GB, free: 29.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01129/2.497, allocations: 2.64 MB / 0.9598 GB, free: 26.71 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002763/2.5, allocations: 467.3 kB / 0.9603 GB, free: 26.26 MB / 478.1 MB Notification: Performance of SimCode: time 2.124e-06/2.5, allocations: 0 / 0.9603 GB, free: 26.26 MB / 478.1 MB Notification: Performance of Templates: time 0.3913/2.891, allocations: 111.6 MB / 1.069 GB, free: 71.63 MB / 478.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)