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.001014/0.001018, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001204/0.001204, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0005051/0.0005052, allocations: 15.98 kB / 280.3 MB, free: 11.46 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2263, allocations: 47.59 MB / 327.8 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03152/0.2579, allocations: 32.01 MB / 359.9 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02237/0.2803, allocations: 9.081 MB / 368.9 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007737/0.2881, allocations: 211.2 kB / 369.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007815/0.2959, allocations: 1.794 MB / 370.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01444/0.3104, allocations: 3.401 MB / 374.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006848/0.3172, allocations: 1.703 MB / 376 MB, free: 2.984 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02628/0.3435, allocations: 19.44 MB / 395.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05343/0.397, allocations: 24.52 MB / 420 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01166/0.4087, allocations: 6.28 MB / 426.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01252/0.4213, allocations: 7.141 MB / 433.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004263/0.4256, allocations: 0.9648 MB / 434.4 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007375/0.433, allocations: 1.32 MB / 435.7 MB, free: 7.082 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006352/0.4394, allocations: 3.138 MB / 438.8 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006698/0.4461, allocations: 3.17 MB / 442 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3876/0.8337, allocations: 27.95 MB / 470 MB, free: 36.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8338, allocations: 0 / 470 MB, free: 36.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.8338, allocations: 0 / 470 MB, free: 36.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008051/0.8346, allocations: 0 / 470 MB, free: 36.88 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.04143/0.876, allocations: 16.25 MB / 486.2 MB, free: 29.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.8761, allocations: 7.344 kB / 486.2 MB, free: 29.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04898/0.9251, allocations: 9.731 MB / 496 MB, free: 25.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01739/0.9425, allocations: 9.271 MB / 0.4934 GB, free: 23.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008425/0.9434, allocations: 1.07 MB / 0.4944 GB, free: 23.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005666/0.9491, allocations: 1.405 MB / 0.4958 GB, free: 22.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05439/1.003, allocations: 23.49 MB / 0.5187 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005839/1.004, allocations: 15.81 kB / 0.5188 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004699/1.009, allocations: 0.5831 MB / 0.5193 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006997/1.01, allocations: 0.8009 MB / 0.5201 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04377/1.053, allocations: 22.13 MB / 0.5417 GB, free: 2.227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1304/1.184, allocations: 75.23 MB / 0.6152 GB, free: 6.816 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2401/1.424, allocations: 38.03 MB / 0.6523 GB, free: 133.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009331/1.433, allocations: 6.473 MB / 0.6586 GB, free: 131.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02843/1.462, allocations: 18.32 MB / 0.6765 GB, free: 123.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/1.462, allocations: 94.73 kB / 0.6766 GB, free: 123.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=581): time 7.103e-06/1.462, allocations: 0 / 0.6766 GB, free: 123.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=589): time 0.09368/1.556, allocations: 39.67 MB / 0.7154 GB, free: 94.31 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/1.556, allocations: 137.8 kB / 0.7155 GB, free: 94.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007953/1.564, allocations: 6.025 MB / 0.7214 GB, free: 88.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008556/1.564, allocations: 117.7 kB / 0.7215 GB, free: 87.99 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002505/1.567, allocations: 6.127 MB / 0.7275 GB, free: 81.83 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001532/1.569, allocations: 1.994 MB / 0.7294 GB, free: 79.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/1.569, allocations: 164 kB / 0.7296 GB, free: 79.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003273/1.569, allocations: 0.6411 MB / 0.7302 GB, free: 79.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005142/1.574, allocations: 4.217 MB / 0.7343 GB, free: 74.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006028/1.58, allocations: 7.148 MB / 0.7413 GB, free: 66.33 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006475/1.587, allocations: 5.661 MB / 0.7468 GB, free: 60.66 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-05/1.587, allocations: 28 kB / 0.7469 GB, free: 60.63 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02186/1.609, allocations: 14.23 MB / 0.7608 GB, free: 46.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/1.609, allocations: 46.03 kB / 0.7608 GB, free: 46.29 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001268/1.609, allocations: 96 kB / 0.7609 GB, free: 46.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006104/1.615, allocations: 2.782 MB / 0.7636 GB, free: 43.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006193/1.621, allocations: 1.696 MB / 0.7653 GB, free: 41.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03097/1.653, allocations: 29.27 MB / 0.7938 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006284/1.659, allocations: 443.5 kB / 0.7943 GB, free: 11.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.66, allocations: 392 kB / 0.7946 GB, free: 10.82 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.009077/1.669, allocations: 5.422 MB / 0.7999 GB, free: 5.383 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001762/1.671, allocations: 0.6405 MB / 0.8006 GB, free: 4.734 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2265/1.898, allocations: 11.57 MB / 0.8119 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.855e-05/1.898, allocations: 62.72 kB / 0.8119 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.005e-05/1.898, allocations: 30.5 kB / 0.812 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/1.898, allocations: 27.84 kB / 0.812 GB, free: 148.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04164/1.94, allocations: 24.46 MB / 0.8359 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/1.94, allocations: 7.156 kB / 0.8359 GB, free: 139.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003977/1.944, allocations: 0.867 MB / 0.8367 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006665/1.95, allocations: 2.807 MB / 0.8395 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001061/1.952, allocations: 136.1 kB / 0.8396 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03472/1.986, allocations: 31.84 MB / 0.8707 GB, free: 115.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/1.986, allocations: 11.94 kB / 0.8707 GB, free: 115 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02539/2.012, allocations: 16.86 MB / 0.8872 GB, free: 100.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004077/2.016, allocations: 1.581 MB / 0.8887 GB, free: 98.81 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001987/2.018, allocations: 120 kB / 0.8888 GB, free: 98.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00408/2.022, allocations: 325.2 kB / 0.8891 GB, free: 98.38 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001396/2.023, allocations: 0.496 MB / 0.8896 GB, free: 97.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006756/2.024, allocations: 168 kB / 0.8898 GB, free: 97.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006819/2.031, allocations: 4.057 MB / 0.8937 GB, free: 93.67 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.523e-06/2.031, allocations: 3.281 kB / 0.8937 GB, free: 93.67 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01137/2.042, allocations: 2.595 MB / 0.8963 GB, free: 91.07 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.001185/2.043, allocations: 310.5 kB / 0.8966 GB, free: 90.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.017/2.06, allocations: 11.91 MB / 0.9082 GB, free: 78.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/2.06, allocations: 4.125 kB / 0.9082 GB, free: 78.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009658/2.07, allocations: 6.989 MB / 0.915 GB, free: 71.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009024/2.079, allocations: 1.678 MB / 0.9167 GB, free: 70.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04108/2.12, allocations: 31.2 MB / 0.9471 GB, free: 38.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009353/2.13, allocations: 9.127 MB / 0.9561 GB, free: 29.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007562/2.137, allocations: 2.64 MB / 0.9586 GB, free: 27.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/2.139, allocations: 463.4 kB / 0.9591 GB, free: 26.59 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/2.139, allocations: 0 / 0.9591 GB, free: 26.59 MB / 478.1 MB Notification: Performance of Templates: time 0.3605/2.499, allocations: 111.6 MB / 1.068 GB, free: 72.01 MB / 478.1 MB 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)