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.001511/0.001511, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002186/0.002186, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.532/1.532, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001224/0.001224, allocations: 55.91 kB / 280.1 MB, free: 10.93 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2737, allocations: 46.64 MB / 326.7 MB, free: 2.359 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.04045/0.3141, allocations: 36.59 MB / 363.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02868/0.3429, allocations: 9.768 MB / 373.1 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01018/0.3531, allocations: 223.2 kB / 373.3 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02478/0.378, allocations: 9.667 MB / 383 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01747/0.3955, allocations: 4.098 MB / 387.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009543/0.405, allocations: 2.456 MB / 389.5 MB, free: 4.703 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02645/0.4315, allocations: 16.96 MB / 406.5 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0594/0.4909, allocations: 31.45 MB / 437.9 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01692/0.5079, allocations: 8.751 MB / 446.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01682/0.5248, allocations: 9.644 MB / 456.3 MB, free: 1.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.4183/0.9431, allocations: 2.514 MB / 458.8 MB, free: 45.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/0.9559, allocations: 2.9 MB / 461.7 MB, free: 45.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009511/0.9655, allocations: 5.032 MB / 466.8 MB, free: 45.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02284/0.9883, allocations: 9.485 MB / 476.3 MB, free: 43.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03846/1.027, allocations: 33.02 MB / 0.4973 GB, free: 28.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/1.027, allocations: 4 kB / 0.4974 GB, free: 28.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/1.027, allocations: 0 / 0.4974 GB, free: 28.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009922/1.028, allocations: 0 / 0.4974 GB, free: 28.42 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.0615/1.089, allocations: 19.37 MB / 0.5163 GB, free: 14.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.089, allocations: 8.031 kB / 0.5163 GB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.052/1.141, allocations: 9.681 MB / 0.5257 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02508/1.167, allocations: 9.442 MB / 0.5349 GB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00159/1.168, allocations: 1.076 MB / 0.536 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008021/1.176, allocations: 1.414 MB / 0.5374 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07162/1.248, allocations: 23.57 MB / 0.5604 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006894/1.249, allocations: 19.89 kB / 0.5604 GB, free: 1.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005542/1.254, allocations: 0.5808 MB / 0.561 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008945/1.255, allocations: 0.7952 MB / 0.5618 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05361/1.309, allocations: 22.21 MB / 0.5834 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3956/1.704, allocations: 74.99 MB / 0.6567 GB, free: 117.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03175/1.736, allocations: 38.1 MB / 0.6939 GB, free: 82.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0108/1.747, allocations: 6.458 MB / 0.7002 GB, free: 79.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03557/1.783, allocations: 18.29 MB / 0.7181 GB, free: 61.08 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.017e-05/1.783, allocations: 107.1 kB / 0.7182 GB, free: 60.97 MB / 462.1 MB Notification: Performance of pre-optimization done (n=581): time 9.037e-06/1.783, allocations: 0 / 0.7182 GB, free: 60.97 MB / 462.1 MB Notification: Performance of matching and sorting (n=589): time 0.09927/1.882, allocations: 37.24 MB / 0.7545 GB, free: 23.45 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.715e-05/1.882, allocations: 137.8 kB / 0.7546 GB, free: 23.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01247/1.895, allocations: 6.072 MB / 0.7606 GB, free: 17.21 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001255/1.896, allocations: 129.6 kB / 0.7607 GB, free: 17.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00435/1.9, allocations: 6.119 MB / 0.7667 GB, free: 10.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002344/1.903, allocations: 1.996 MB / 0.7686 GB, free: 8.941 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005534/1.908, allocations: 1.596 MB / 0.7702 GB, free: 7.332 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/1.908, allocations: 301.1 kB / 0.7705 GB, free: 7.035 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009552/1.918, allocations: 4.228 MB / 0.7746 GB, free: 2.797 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01285/1.931, allocations: 7.163 MB / 0.7816 GB, free: 10.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2595/2.19, allocations: 12.05 MB / 0.7934 GB, free: 149.8 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/2.191, allocations: 30.91 kB / 0.7934 GB, free: 149.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02876/2.219, allocations: 14.27 MB / 0.8073 GB, free: 147.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.93e-05/2.219, allocations: 50.56 kB / 0.8074 GB, free: 147.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001871/2.22, allocations: 94.03 kB / 0.8075 GB, free: 147.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0074/2.227, allocations: 2.78 MB / 0.8102 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007959/2.235, allocations: 1.692 MB / 0.8118 GB, free: 146.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03981/2.275, allocations: 31.64 MB / 0.8427 GB, free: 127.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008444/2.283, allocations: 437.4 kB / 0.8432 GB, free: 127.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002124/2.285, allocations: 391.2 kB / 0.8435 GB, free: 127.3 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 (booleanStepYD[3].y,booleanStepYD[2].y,booleanStepYD[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1],booleanStepYDQS[3].y,booleanStepYDQS[2].y,booleanStepYDQS[1].y,booleanStepQS[3].y,booleanStepQS[2].y,booleanStepQS[1].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 (not torn): 1 * Torn equation systems: 6 * 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): 6 systems {(1,8,100.0%), (9,19,33.3%), (1,1,100.0%), (1,13,100.0%), (1,1,100.0%), (24,96,32.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01439/2.3, allocations: 5.424 MB / 0.8488 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003041/2.303, allocations: 0.6342 MB / 0.8494 GB, free: 124.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02398/2.327, allocations: 11.57 MB / 0.8607 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.26e-05/2.327, allocations: 63.84 kB / 0.8608 GB, free: 113.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.595e-05/2.327, allocations: 28 kB / 0.8608 GB, free: 113.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001167/2.327, allocations: 31.83 kB / 0.8609 GB, free: 113.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05601/2.383, allocations: 24.45 MB / 0.8847 GB, free: 88.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-05/2.383, allocations: 16.09 kB / 0.8847 GB, free: 88.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004074/2.387, allocations: 0.8659 MB / 0.8856 GB, free: 88.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007362/2.395, allocations: 2.839 MB / 0.8884 GB, free: 85.15 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001247/2.396, allocations: 136 kB / 0.8885 GB, free: 85.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03787/2.434, allocations: 34.61 MB / 0.9223 GB, free: 49.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/2.434, allocations: 7.938 kB / 0.9223 GB, free: 49.46 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03076/2.465, allocations: 16.88 MB / 0.9388 GB, free: 32.24 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006045/2.471, allocations: 1.566 MB / 0.9403 GB, free: 30.65 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002816/2.474, allocations: 120 kB / 0.9404 GB, free: 30.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005446/2.479, allocations: 311.7 kB / 0.9407 GB, free: 30.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001878/2.481, allocations: 497.1 kB / 0.9412 GB, free: 29.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009205/2.482, allocations: 176 kB / 0.9414 GB, free: 29.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0101/2.492, allocations: 4.1 MB / 0.9454 GB, free: 25.47 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.31e-07/2.492, allocations: 0 / 0.9454 GB, free: 25.47 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01357/2.506, allocations: 2.594 MB / 0.9479 GB, free: 22.88 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (24,96,34.7%), (1,1,100.0%), (1,8,100.0%), (9,19,33.3%), (1,13,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001627/2.507, allocations: 318.6 kB / 0.9482 GB, free: 22.57 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2289/2.736, allocations: 19.32 MB / 0.9671 GB, free: 144.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.507e-06/2.736, allocations: 3.906 kB / 0.9671 GB, free: 144.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01019/2.747, allocations: 6.996 MB / 0.9739 GB, free: 143.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007807/2.754, allocations: 1.728 MB / 0.9756 GB, free: 143.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04149/2.796, allocations: 26.43 MB / 1.001 GB, free: 134.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01576/2.812, allocations: 9.129 MB / 1.01 GB, free: 131.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01036/2.822, allocations: 2.632 MB / 1.013 GB, free: 129.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002352/2.825, allocations: 475.3 kB / 1.013 GB, free: 129.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.082e-06/2.825, allocations: 0 / 1.013 GB, free: 129.2 MB / 478.1 MB Notification: Performance of Templates: time 0.1816/3.006, allocations: 120.1 MB / 1.131 GB, free: 10.49 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)