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_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 96.23 kB / 16.3 MB, free: 6.461 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.001105/0.001105, allocations: 173.4 kB / 17.19 MB, free: 6.348 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.424/1.424, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0007359/0.000736, allocations: 8 kB / 280.1 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1446, allocations: 47.59 MB / 327.7 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.04715/0.1918, allocations: 30.67 MB / 358.4 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02947/0.2214, allocations: 9.665 MB / 368.1 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009595/0.231, allocations: 231.1 kB / 368.3 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.2424, allocations: 2.079 MB / 370.4 MB, free: 9.277 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01854/0.261, allocations: 3.49 MB / 373.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01004/0.2711, allocations: 1.633 MB / 375.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2461/0.5172, allocations: 13.7 MB / 389.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04642/0.5637, allocations: 24.42 MB / 413.6 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01193/0.5757, allocations: 5.715 MB / 419.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01289/0.5886, allocations: 6.295 MB / 425.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004606/0.5932, allocations: 0.9336 MB / 426.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0081/0.6014, allocations: 1.247 MB / 427.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006534/0.6079, allocations: 2.925 MB / 430.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008467/0.6164, allocations: 3.108 MB / 433.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03412/0.6506, allocations: 26.94 MB / 460.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6506, allocations: 0 / 460.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.6506, allocations: 0 / 460.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.001041/0.6517, allocations: 0 / 460.8 MB, free: 3.488 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.05114/0.7029, allocations: 15.81 MB / 476.6 MB, free: 3.785 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.7029, allocations: 8.031 kB / 476.6 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05296/0.7559, allocations: 9.205 MB / 485.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0252/0.7811, allocations: 9.02 MB / 494.8 MB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001461/0.7826, allocations: 1.074 MB / 495.9 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006869/0.7895, allocations: 1.41 MB / 497.3 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07238/0.8619, allocations: 23 MB / 0.5081 GB, free: 8.168 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008781/0.8629, allocations: 23.75 kB / 0.5081 GB, free: 8.145 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006072/0.869, allocations: 0.5809 MB / 0.5087 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00111/0.8701, allocations: 0.8148 MB / 0.5095 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05504/0.9251, allocations: 21.61 MB / 0.5306 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5287/1.454, allocations: 74.28 MB / 0.6031 GB, free: 64.61 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03123/1.485, allocations: 53.52 MB / 0.6554 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03306/1.518, allocations: 15.27 MB / 0.6703 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/1.518, allocations: 86.75 kB / 0.6704 GB, free: 11.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=514): time 8.827e-06/1.518, allocations: 0 / 0.6704 GB, free: 11.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=522): time 0.06816/1.587, allocations: 27.29 MB / 0.697 GB, free: 15.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/1.587, allocations: 137.3 kB / 0.6972 GB, free: 15.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01502/1.602, allocations: 5.801 MB / 0.7028 GB, free: 9.375 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001282/1.603, allocations: 113.7 kB / 0.7029 GB, free: 9.258 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005781/1.609, allocations: 6.267 MB / 0.7091 GB, free: 2.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002754/1.612, allocations: 1.785 MB / 0.7108 GB, free: 1.188 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/1.613, allocations: 156 kB / 0.711 GB, free: 1.035 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0007386/1.614, allocations: 0.6248 MB / 0.7116 GB, free: 416 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2094/1.823, allocations: 3.748 MB / 0.7152 GB, free: 153.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008742/1.832, allocations: 6.794 MB / 0.7219 GB, free: 149.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008922/1.841, allocations: 5.207 MB / 0.7269 GB, free: 147.4 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/1.841, allocations: 33.88 kB / 0.727 GB, free: 147.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02091/1.862, allocations: 12.53 MB / 0.7392 GB, free: 142.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/1.862, allocations: 49.8 kB / 0.7393 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002002/1.862, allocations: 102.6 kB / 0.7394 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/1.866, allocations: 1.618 MB / 0.7409 GB, free: 142.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007041/1.873, allocations: 1.754 MB / 0.7427 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/1.896, allocations: 18.64 MB / 0.7609 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007254/1.903, allocations: 442.1 kB / 0.7613 GB, free: 129.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001855/1.905, allocations: 398.5 kB / 0.7617 GB, free: 129.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 460 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (915): * Single equations (assignments): 905 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * 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: 5 {(1,100.0%) 1,(12,54.2%) 64,(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01191/1.917, allocations: 5.249 MB / 0.7668 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002323/1.92, allocations: 0.6053 MB / 0.7674 GB, free: 126.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01849/1.938, allocations: 9.597 MB / 0.7767 GB, free: 118.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009932/1.948, allocations: 5.983 MB / 0.7826 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-05/1.948, allocations: 20 kB / 0.7826 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.173e-05/1.948, allocations: 29.17 kB / 0.7826 GB, free: 113 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04344/1.992, allocations: 21.37 MB / 0.8035 GB, free: 93.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/1.992, allocations: 8 kB / 0.8035 GB, free: 93.14 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003835/1.996, allocations: 0.8815 MB / 0.8044 GB, free: 92.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004361/2, allocations: 1.628 MB / 0.806 GB, free: 90.61 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007832/2.001, allocations: 128 kB / 0.8061 GB, free: 90.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02151/2.022, allocations: 21.75 MB / 0.8273 GB, free: 68.05 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/2.022, allocations: 7.938 kB / 0.8273 GB, free: 68.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02105/2.043, allocations: 14.94 MB / 0.8419 GB, free: 52.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003814/2.047, allocations: 1.387 MB / 0.8433 GB, free: 51.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001929/2.049, allocations: 112 kB / 0.8434 GB, free: 51.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003995/2.053, allocations: 297.2 kB / 0.8437 GB, free: 50.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/2.054, allocations: 416.4 kB / 0.8441 GB, free: 50.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005479/2.055, allocations: 152 kB / 0.8442 GB, free: 50.34 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006648/2.062, allocations: 3.879 MB / 0.848 GB, free: 46.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.12e-07/2.062, allocations: 0 / 0.848 GB, free: 46.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.009658/2.071, allocations: 2.376 MB / 0.8503 GB, free: 44.12 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 10 (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,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 440 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 12,(1,100.0%) 1,(12,54.9%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001107/2.072, allocations: 318.4 kB / 0.8506 GB, free: 43.81 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01545/2.088, allocations: 10.17 MB / 0.8605 GB, free: 33.54 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/2.088, allocations: 0 / 0.8605 GB, free: 33.54 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009252/2.097, allocations: 5.551 MB / 0.866 GB, free: 27.91 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007796/2.105, allocations: 1.481 MB / 0.8674 GB, free: 26.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2842/2.389, allocations: 30.03 MB / 0.8967 GB, free: 133.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02275/2.412, allocations: 9.165 MB / 0.9057 GB, free: 132.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00999/2.422, allocations: 2.602 MB / 0.9082 GB, free: 132.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/2.424, allocations: 467.7 kB / 0.9087 GB, free: 132.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/2.424, allocations: 0 / 0.9087 GB, free: 132.3 MB / 478.1 MB Notification: Performance of Templates: time 0.1595/2.584, allocations: 95.57 MB / 1.002 GB, free: 53.99 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1) Environment - environmentSimulation: