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.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002029/0.002029, allocations: 196.6 kB / 16.14 MB, free: 6.715 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.1 MB / 222 MB, free: 4.797 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.001167/0.001167, allocations: 44.31 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2975, allocations: 46.63 MB / 324.7 MB, free: 2.094 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_DOL): time 0.03895/0.3365, allocations: 37.65 MB / 362.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0255/0.362, allocations: 9.916 MB / 372.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01315/0.3752, allocations: 239.1 kB / 372.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02502/0.4003, allocations: 9.561 MB / 382.1 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0197/0.4201, allocations: 3.732 MB / 385.8 MB, free: 6.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.431, allocations: 2.237 MB / 388 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.03075/0.4617, allocations: 16.83 MB / 404.9 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05645/0.5182, allocations: 25.51 MB / 430.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01673/0.535, allocations: 7.216 MB / 437.6 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01773/0.5528, allocations: 8.917 MB / 446.5 MB, free: 9.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008365/0.5612, allocations: 1.543 MB / 448.1 MB, free: 8.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01136/0.5726, allocations: 1.933 MB / 450 MB, free: 6.402 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009965/0.5826, allocations: 3.949 MB / 453.9 MB, free: 2.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4622/1.045, allocations: 8.334 MB / 462.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03756/1.082, allocations: 31.32 MB / 493.6 MB, free: 32.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/1.083, allocations: 0 / 493.6 MB, free: 32.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/1.083, allocations: 0 / 493.6 MB, free: 32.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001105/1.084, allocations: 2.562 kB / 493.6 MB, free: 32.14 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.06671/1.15, allocations: 18.92 MB / 0.5005 GB, free: 20.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/1.15, allocations: 9.281 kB / 0.5005 GB, free: 20.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06918/1.22, allocations: 9.239 MB / 0.5095 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02643/1.246, allocations: 9.109 MB / 0.5184 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009741/1.247, allocations: 1.074 MB / 0.5195 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007937/1.255, allocations: 1.425 MB / 0.5209 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07546/1.331, allocations: 23.23 MB / 0.5435 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000904/1.331, allocations: 19.27 kB / 0.5436 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006909/1.338, allocations: 0.5839 MB / 0.5441 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009861/1.339, allocations: 0.8098 MB / 0.5449 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05314/1.393, allocations: 21.7 MB / 0.5661 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3684/1.761, allocations: 74.17 MB / 0.6385 GB, free: 133.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02959/1.791, allocations: 53.59 MB / 0.6909 GB, free: 87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01026/1.801, allocations: 5.433 MB / 0.6962 GB, free: 86.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02565/1.827, allocations: 15.6 MB / 0.7114 GB, free: 82.69 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/1.827, allocations: 101 kB / 0.7115 GB, free: 82.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=504): time 6.252e-06/1.827, allocations: 0 / 0.7115 GB, free: 82.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=512): time 0.05552/1.882, allocations: 26.82 MB / 0.7377 GB, free: 63.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/1.882, allocations: 129.4 kB / 0.7378 GB, free: 63.05 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/1.895, allocations: 5.895 MB / 0.7436 GB, free: 57.18 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009757/1.896, allocations: 113.7 kB / 0.7437 GB, free: 57.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00403/1.9, allocations: 6.291 MB / 0.7498 GB, free: 50.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002333/1.902, allocations: 1.754 MB / 0.7516 GB, free: 49 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0047/1.907, allocations: 1.532 MB / 0.753 GB, free: 47.46 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/1.907, allocations: 301.1 kB / 0.7533 GB, free: 47.17 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006351/1.913, allocations: 3.72 MB / 0.757 GB, free: 43.45 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007154/1.92, allocations: 6.812 MB / 0.7636 GB, free: 35.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/1.933, allocations: 11.22 MB / 0.7746 GB, free: 22.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.263e-05/1.933, allocations: 36 kB / 0.7746 GB, free: 22.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=1007) (initialization): time 0.02035/1.953, allocations: 12.47 MB / 0.7868 GB, free: 9.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.445e-05/1.953, allocations: 52 kB / 0.7868 GB, free: 9.922 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001856/1.954, allocations: 100 kB / 0.7869 GB, free: 9.824 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004224/1.958, allocations: 1.603 MB / 0.7885 GB, free: 8.207 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006023/1.964, allocations: 1.747 MB / 0.7902 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.263/2.227, allocations: 18.21 MB / 0.808 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007256/2.234, allocations: 437.2 kB / 0.8084 GB, free: 144.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002601/2.237, allocations: 391.2 kB / 0.8088 GB, free: 144.9 MB / 478.1 MB 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 (907): * Single equations (assignments): 897 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.9%), (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.01383/2.251, allocations: 5.248 MB / 0.8139 GB, free: 144.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001886/2.253, allocations: 0.6159 MB / 0.8145 GB, free: 144.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/2.267, allocations: 9.471 MB / 0.8238 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007741/2.275, allocations: 5.946 MB / 0.8296 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-05/2.275, allocations: 19.19 kB / 0.8296 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-05/2.275, allocations: 26.3 kB / 0.8296 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03609/2.311, allocations: 21.23 MB / 0.8503 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/2.311, allocations: 4 kB / 0.8504 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003288/2.314, allocations: 0.8643 MB / 0.8512 GB, free: 127.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004423/2.319, allocations: 1.634 MB / 0.8528 GB, free: 126.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005189/2.319, allocations: 130.7 kB / 0.8529 GB, free: 126.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/2.34, allocations: 21.38 MB / 0.8738 GB, free: 105.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/2.34, allocations: 7.938 kB / 0.8738 GB, free: 105.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02236/2.362, allocations: 13.87 MB / 0.8873 GB, free: 91.68 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003828/2.366, allocations: 1.37 MB / 0.8887 GB, free: 90.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002049/2.368, allocations: 108 kB / 0.8888 GB, free: 90.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004203/2.372, allocations: 287.7 kB / 0.8891 GB, free: 90.13 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001304/2.374, allocations: 408.4 kB / 0.8894 GB, free: 89.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005996/2.374, allocations: 160 kB / 0.8896 GB, free: 89.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008696/2.383, allocations: 3.961 MB / 0.8935 GB, free: 85.64 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/2.383, allocations: 0 / 0.8935 GB, free: 85.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01321/2.396, allocations: 2.374 MB / 0.8958 GB, free: 83.27 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 (441): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,53.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001606/2.398, allocations: 324.9 kB / 0.8961 GB, free: 82.97 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01738/2.415, allocations: 10.07 MB / 0.9059 GB, free: 72.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/2.415, allocations: 7.25 kB / 0.9059 GB, free: 72.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008808/2.424, allocations: 5.494 MB / 0.9113 GB, free: 67.23 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01068/2.435, allocations: 1.548 MB / 0.9128 GB, free: 65.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05433/2.489, allocations: 31.3 MB / 0.9434 GB, free: 34.3 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01116/2.5, allocations: 8.93 MB / 0.9521 GB, free: 25.33 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.007721/2.508, allocations: 2.591 MB / 0.9546 GB, free: 22.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/2.509, allocations: 463.4 kB / 0.9551 GB, free: 22.28 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/2.509, allocations: 0 / 0.9551 GB, free: 22.28 MB / 478.1 MB Notification: Performance of Templates: time 0.4009/2.91, allocations: 99.67 MB / 1.052 GB, free: 80.48 MB / 478.1 MB 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)