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_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.1_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.1_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.007945/0.007945, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001665/0.001665, allocations: 191.9 kB / 16.67 MB, free: 5.949 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.527/1.527, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.001466/0.001466, allocations: 52.8 kB / 326.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1285, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.0455/0.1741, allocations: 38.35 MB / 411.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02846/0.2026, allocations: 10.01 MB / 421.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01144/0.2141, allocations: 247.1 kB / 421.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02795/0.2421, allocations: 10.26 MB / 432.1 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02045/0.2626, allocations: 4.169 MB / 436.2 MB, free: 2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01006/0.2727, allocations: 2.417 MB / 438.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.5437/0.8164, allocations: 16.52 MB / 455.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06109/0.8775, allocations: 31.18 MB / 486.4 MB, free: 2.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02296/0.9005, allocations: 8.916 MB / 495.3 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02164/0.9222, allocations: 9.432 MB / 0.4929 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009944/0.9322, allocations: 2.426 MB / 0.4952 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.9456, allocations: 2.82 MB / 0.498 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01097/0.9566, allocations: 4.862 MB / 0.5028 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02589/0.9825, allocations: 9.326 MB / 0.5119 GB, free: 8.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05202/1.035, allocations: 32.21 MB / 0.5433 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/1.035, allocations: 0 / 0.5433 GB, free: 10.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/1.035, allocations: 0 / 0.5433 GB, free: 10.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001192/1.036, allocations: 0 / 0.5433 GB, free: 10.25 MB / 446.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.07316/1.109, allocations: 19.2 MB / 0.5621 GB, free: 7.047 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.109, allocations: 8.031 kB / 0.5621 GB, free: 7.039 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05304/1.162, allocations: 9.364 MB / 0.5712 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02598/1.188, allocations: 9.22 MB / 0.5802 GB, free: 4.926 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001378/1.19, allocations: 1.077 MB / 0.5813 GB, free: 3.863 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006935/1.196, allocations: 1.409 MB / 0.5826 GB, free: 2.469 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07005/1.267, allocations: 23.2 MB / 0.6053 GB, free: 11.22 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006902/1.267, allocations: 31.27 kB / 0.6053 GB, free: 11.2 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005966/1.273, allocations: 0.5866 MB / 0.6059 GB, free: 10.62 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009999/1.274, allocations: 0.811 MB / 0.6067 GB, free: 9.812 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05191/1.326, allocations: 21.68 MB / 0.6279 GB, free: 4.125 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4258/1.752, allocations: 73.44 MB / 0.6996 GB, free: 119.6 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03494/1.787, allocations: 53.56 MB / 0.7519 GB, free: 66.62 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0088/1.796, allocations: 5.347 MB / 0.7571 GB, free: 62.64 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03328/1.829, allocations: 15.44 MB / 0.7722 GB, free: 47.4 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.991e-05/1.829, allocations: 98.64 kB / 0.7723 GB, free: 47.29 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=498): time 7.093e-06/1.829, allocations: 0 / 0.7723 GB, free: 47.29 MB / 0.5138 GB Notification: Performance of matching and sorting (n=506): time 0.06421/1.894, allocations: 27.27 MB / 0.7989 GB, free: 20.29 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.442e-05/1.894, allocations: 133.3 kB / 0.799 GB, free: 20.14 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/1.904, allocations: 5.908 MB / 0.8048 GB, free: 14.33 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001146/1.905, allocations: 109.7 kB / 0.8049 GB, free: 14.21 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003527/1.909, allocations: 6.506 MB / 0.8113 GB, free: 8.23 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002142/1.911, allocations: 1.825 MB / 0.8131 GB, free: 6.43 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002298/1.913, allocations: 1.529 MB / 0.8145 GB, free: 4.895 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.859e-05/1.913, allocations: 301.1 kB / 0.8148 GB, free: 4.598 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004688/1.918, allocations: 3.693 MB / 0.8184 GB, free: 0.9023 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008465/1.927, allocations: 6.769 MB / 0.8251 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.311/2.238, allocations: 11.14 MB / 0.8359 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001256/2.238, allocations: 32.81 kB / 0.836 GB, free: 165.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1001) (initialization): time 0.02806/2.266, allocations: 12.42 MB / 0.8481 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-05/2.266, allocations: 53.69 kB / 0.8481 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/2.266, allocations: 99.72 kB / 0.8482 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004334/2.27, allocations: 1.603 MB / 0.8498 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006955/2.277, allocations: 1.738 MB / 0.8515 GB, free: 162 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02189/2.299, allocations: 19.65 MB / 0.8707 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007659/2.307, allocations: 438.1 kB / 0.8711 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/2.309, allocations: 390.3 kB / 0.8715 GB, free: 148.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 6 (booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (904): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (12,64,54.2%), (1,5,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01093/2.32, allocations: 5.256 MB / 0.8766 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00176/2.322, allocations: 0.6302 MB / 0.8772 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01611/2.338, allocations: 9.381 MB / 0.8864 GB, free: 142.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009257/2.347, allocations: 5.873 MB / 0.8921 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.888e-05/2.347, allocations: 25.25 kB / 0.8921 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.901e-05/2.347, allocations: 28.45 kB / 0.8922 GB, free: 140.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04359/2.391, allocations: 21.07 MB / 0.9127 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-05/2.391, allocations: 4 kB / 0.9128 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004099/2.395, allocations: 0.8762 MB / 0.9136 GB, free: 122.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004802/2.4, allocations: 1.637 MB / 0.9152 GB, free: 121 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001174/2.401, allocations: 127.9 kB / 0.9153 GB, free: 120.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02263/2.424, allocations: 23.22 MB / 0.938 GB, free: 96.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/2.424, allocations: 11.94 kB / 0.938 GB, free: 96.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02076/2.445, allocations: 13.76 MB / 0.9515 GB, free: 82.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005094/2.45, allocations: 1.393 MB / 0.9528 GB, free: 81.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002076/2.452, allocations: 104 kB / 0.9529 GB, free: 81.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005068/2.457, allocations: 287.7 kB / 0.9532 GB, free: 81.11 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001181/2.458, allocations: 412.3 kB / 0.9536 GB, free: 80.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003551/2.459, allocations: 152 kB / 0.9537 GB, free: 80.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00786/2.466, allocations: 3.973 MB / 0.9576 GB, free: 76.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.9e-07/2.466, allocations: 0 / 0.9576 GB, free: 76.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01355/2.48, allocations: 2.365 MB / 0.9599 GB, free: 74.25 MB / 0.5294 GB 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 (438): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,1,100.0%), (1,13,100.0%), (1,5,100.0%), (1,8,100.0%), (2,12,100.0%), (1,1,100.0%), (12,64,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001883/2.482, allocations: 321.9 kB / 0.9602 GB, free: 73.95 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01664/2.499, allocations: 10.03 MB / 0.97 GB, free: 63.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/2.499, allocations: 0 / 0.97 GB, free: 63.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.009333/2.508, allocations: 5.471 MB / 0.9754 GB, free: 58.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01104/2.519, allocations: 1.642 MB / 0.977 GB, free: 56.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05261/2.572, allocations: 25.33 MB / 1.002 GB, free: 31.21 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02023/2.592, allocations: 8.922 MB / 1.01 GB, free: 22.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01/2.602, allocations: 2.595 MB / 1.013 GB, free: 19.65 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003174/2.605, allocations: 471.3 kB / 1.013 GB, free: 19.19 MB / 0.5294 GB Notification: Performance of SimCode: time 1.123e-06/2.605, allocations: 0 / 1.013 GB, free: 19.19 MB / 0.5294 GB Notification: Performance of Templates: time 0.4883/3.094, allocations: 97.91 MB / 1.109 GB, free: 109.5 MB / 0.5294 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL.pipe 2>&1)