Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001053/0.001053, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.00134/0.00134, allocations: 172.7 kB / 15.95 MB, free: 208 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.659/1.659, allocations: 205.4 MB / 222.1 MB, free: 5.898 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.0004761/0.0004763, allocations: 14.81 kB / 280.2 MB, free: 11.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3058, allocations: 47.59 MB / 327.8 MB, free: 1.824 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03531/0.3412, allocations: 32.02 MB / 359.8 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02619/0.3674, allocations: 9.078 MB / 368.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009681/0.3772, allocations: 215.2 kB / 369.1 MB, free: 9.953 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009008/0.3862, allocations: 1.798 MB / 370.9 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01543/0.4017, allocations: 3.409 MB / 374.3 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007967/0.4097, allocations: 1.707 MB / 376 MB, free: 3.012 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03141/0.4411, allocations: 19.45 MB / 395.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06255/0.5037, allocations: 24.51 MB / 420 MB, free: 6.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01569/0.5194, allocations: 6.272 MB / 426.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01561/0.5351, allocations: 7.141 MB / 433.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006146/0.5413, allocations: 0.9727 MB / 434.4 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009205/0.5505, allocations: 1.32 MB / 435.7 MB, free: 7.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007464/0.558, allocations: 3.134 MB / 438.8 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009439/0.5675, allocations: 3.174 MB / 442 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4591/1.027, allocations: 27.95 MB / 470 MB, free: 36.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.027, allocations: 0 / 470 MB, free: 36.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.727e-06/1.027, allocations: 0 / 470 MB, free: 36.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001078/1.028, allocations: 0 / 470 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.04921/1.077, allocations: 16.25 MB / 486.2 MB, free: 29.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/1.077, allocations: 7.594 kB / 486.2 MB, free: 29.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04956/1.127, allocations: 9.723 MB / 495.9 MB, free: 25.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0235/1.15, allocations: 9.272 MB / 0.4934 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001659/1.152, allocations: 1.068 MB / 0.4944 GB, free: 22.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008318/1.16, allocations: 1.409 MB / 0.4958 GB, free: 22.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07201/1.232, allocations: 23.48 MB / 0.5187 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009918/1.233, allocations: 25.95 kB / 0.5188 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007455/1.241, allocations: 0.5863 MB / 0.5193 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009231/1.242, allocations: 0.8002 MB / 0.5201 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.057/1.299, allocations: 22.12 MB / 0.5417 GB, free: 2.172 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1713/1.47, allocations: 75.22 MB / 0.6152 GB, free: 6.758 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.302/1.772, allocations: 38.04 MB / 0.6523 GB, free: 133.1 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01115/1.783, allocations: 6.474 MB / 0.6586 GB, free: 131.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03239/1.816, allocations: 18.32 MB / 0.6765 GB, free: 123.1 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/1.816, allocations: 97.67 kB / 0.6766 GB, free: 123.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=581): time 7.675e-06/1.816, allocations: 0 / 0.6766 GB, free: 123.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=589): time 0.1042/1.92, allocations: 39.67 MB / 0.7154 GB, free: 94.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/1.92, allocations: 137.7 kB / 0.7155 GB, free: 93.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008611/1.929, allocations: 6.021 MB / 0.7214 GB, free: 87.95 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001171/1.93, allocations: 129.7 kB / 0.7215 GB, free: 87.82 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002841/1.933, allocations: 6.12 MB / 0.7275 GB, free: 81.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002131/1.935, allocations: 1.996 MB / 0.7294 GB, free: 79.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005502/1.936, allocations: 164 kB / 0.7296 GB, free: 79.52 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003548/1.936, allocations: 0.6372 MB / 0.7302 GB, free: 78.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005739/1.942, allocations: 4.217 MB / 0.7343 GB, free: 74.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007284/1.949, allocations: 7.148 MB / 0.7413 GB, free: 66.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008001/1.957, allocations: 5.665 MB / 0.7468 GB, free: 60.49 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.98e-05/1.957, allocations: 24 kB / 0.7469 GB, free: 60.46 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02548/1.983, allocations: 14.23 MB / 0.7608 GB, free: 46.17 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/1.983, allocations: 48.03 kB / 0.7608 GB, free: 46.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/1.983, allocations: 92 kB / 0.7609 GB, free: 46.03 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00679/1.99, allocations: 2.779 MB / 0.7636 GB, free: 43.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006846/1.997, allocations: 1.685 MB / 0.7652 GB, free: 41.54 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03425/2.031, allocations: 29.29 MB / 0.7938 GB, free: 11.46 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007482/2.038, allocations: 447.6 kB / 0.7943 GB, free: 11.03 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/2.04, allocations: 388 kB / 0.7946 GB, free: 10.65 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.0122/2.053, allocations: 5.426 MB / 0.7999 GB, free: 5.207 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003572/2.056, allocations: 0.6445 MB / 0.8006 GB, free: 4.555 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3032/2.359, allocations: 11.57 MB / 0.8119 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.013e-05/2.36, allocations: 61.72 kB / 0.8119 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.753e-05/2.36, allocations: 27.34 kB / 0.8119 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001178/2.36, allocations: 34.27 kB / 0.812 GB, free: 148.1 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0465/2.406, allocations: 24.44 MB / 0.8359 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.426e-05/2.406, allocations: 7.812 kB / 0.8359 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004369/2.411, allocations: 0.8716 MB / 0.8367 GB, free: 139.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006986/2.418, allocations: 2.807 MB / 0.8395 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001353/2.419, allocations: 134.4 kB / 0.8396 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03443/2.454, allocations: 31.86 MB / 0.8707 GB, free: 114.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/2.454, allocations: 7.938 kB / 0.8707 GB, free: 114.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02607/2.48, allocations: 16.86 MB / 0.8872 GB, free: 99.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004641/2.484, allocations: 1.575 MB / 0.8887 GB, free: 98.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001962/2.486, allocations: 123.9 kB / 0.8888 GB, free: 98.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004161/2.491, allocations: 322.8 kB / 0.8891 GB, free: 98.11 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001325/2.492, allocations: 0.4962 MB / 0.8896 GB, free: 97.61 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004006/2.492, allocations: 172 kB / 0.8898 GB, free: 97.45 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006718/2.499, allocations: 4.053 MB / 0.8937 GB, free: 93.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 5.61e-07/2.499, allocations: 0 / 0.8937 GB, free: 93.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0126/2.512, allocations: 2.59 MB / 0.8963 GB, free: 90.8 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.001839/2.514, allocations: 310 kB / 0.8966 GB, free: 90.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01989/2.533, allocations: 11.91 MB / 0.9082 GB, free: 78.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/2.533, allocations: 384 / 0.9082 GB, free: 78.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01109/2.545, allocations: 7.001 MB / 0.915 GB, free: 71.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01091/2.556, allocations: 1.674 MB / 0.9167 GB, free: 69.85 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05204/2.608, allocations: 31.2 MB / 0.9471 GB, free: 38.59 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01046/2.618, allocations: 9.125 MB / 0.956 GB, free: 29.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007893/2.626, allocations: 2.636 MB / 0.9586 GB, free: 26.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/2.628, allocations: 467.3 kB / 0.9591 GB, free: 26.33 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/2.628, allocations: 0 / 0.9591 GB, free: 26.33 MB / 478.1 MB Notification: Performance of Templates: time 0.4301/3.058, allocations: 111.6 MB / 1.068 GB, free: 89.98 MB / 478.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)