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_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.2.2_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.2.2_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.001115/0.001116, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001182/0.001182, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.462/1.462, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.001315/0.001315, allocations: 55.92 kB / 281.4 MB, free: 1.727 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 46.62 MB / 328 MB, free: 3.031 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03993/0.1522, allocations: 36.58 MB / 364.6 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02637/0.1786, allocations: 9.772 MB / 374.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009775/0.1885, allocations: 231.2 kB / 374.6 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2336/0.4221, allocations: 9.661 MB / 384.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01629/0.4384, allocations: 4.098 MB / 388.4 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008117/0.4466, allocations: 2.457 MB / 390.8 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02811/0.4747, allocations: 16.96 MB / 407.8 MB, free: 8.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05833/0.5331, allocations: 31.45 MB / 439.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01696/0.5501, allocations: 8.742 MB / 448 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01773/0.5679, allocations: 9.642 MB / 457.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009109/0.577, allocations: 2.516 MB / 460.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01428/0.5913, allocations: 2.913 MB / 463.1 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01258/0.604, allocations: 5.028 MB / 468.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02654/0.6305, allocations: 9.482 MB / 477.6 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0458/0.6764, allocations: 33.03 MB / 0.4986 GB, free: 8.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.113e-05/0.6764, allocations: 3.984 kB / 0.4986 GB, free: 8.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6765, allocations: 0 / 0.4986 GB, free: 8.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001158/0.6776, allocations: 0 / 0.4986 GB, free: 8.004 MB / 414.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.07476/0.7524, allocations: 19.37 MB / 0.5176 GB, free: 4.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/0.7525, allocations: 12.03 kB / 0.5176 GB, free: 4.652 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05571/0.8082, allocations: 9.684 MB / 0.527 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02352/0.8318, allocations: 9.441 MB / 0.5362 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001265/0.8331, allocations: 1.073 MB / 0.5373 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3635/1.197, allocations: 1.402 MB / 0.5387 GB, free: 134.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07058/1.267, allocations: 23.58 MB / 0.5617 GB, free: 126.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004847/1.268, allocations: 22.97 kB / 0.5617 GB, free: 126.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004194/1.272, allocations: 0.576 MB / 0.5623 GB, free: 126 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007418/1.273, allocations: 0.8016 MB / 0.5631 GB, free: 125.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04452/1.317, allocations: 22.2 MB / 0.5847 GB, free: 112.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1263/1.444, allocations: 74.98 MB / 0.658 GB, free: 37.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03048/1.474, allocations: 38.1 MB / 0.6952 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01415/1.488, allocations: 6.458 MB / 0.7015 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03526/1.524, allocations: 18.28 MB / 0.7193 GB, free: 2.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.02e-05/1.524, allocations: 99.17 kB / 0.7194 GB, free: 2.371 MB / 478.1 MB Notification: Performance of pre-optimization done (n=581): time 6.833e-06/1.524, allocations: 0 / 0.7194 GB, free: 2.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=589): time 0.3782/1.902, allocations: 37.24 MB / 0.7558 GB, free: 141.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/1.902, allocations: 141.2 kB / 0.7559 GB, free: 141.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009409/1.912, allocations: 6.073 MB / 0.7619 GB, free: 139.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001161/1.913, allocations: 121.4 kB / 0.762 GB, free: 139.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003241/1.916, allocations: 6.123 MB / 0.768 GB, free: 134.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00262/1.919, allocations: 1.995 MB / 0.7699 GB, free: 133 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003128/1.922, allocations: 1.594 MB / 0.7715 GB, free: 132.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.545e-05/1.922, allocations: 301.1 kB / 0.7717 GB, free: 131.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007448/1.929, allocations: 4.236 MB / 0.7759 GB, free: 130 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008696/1.938, allocations: 7.166 MB / 0.7829 GB, free: 123.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0149/1.953, allocations: 12.05 MB / 0.7946 GB, free: 113.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001268/1.953, allocations: 37.62 kB / 0.7947 GB, free: 113.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.0299/1.983, allocations: 14.27 MB / 0.8086 GB, free: 99.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002128/1.983, allocations: 48 kB / 0.8087 GB, free: 99.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002918/1.984, allocations: 95.72 kB / 0.8088 GB, free: 98.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007533/1.991, allocations: 2.78 MB / 0.8115 GB, free: 96.17 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006979/1.998, allocations: 1.692 MB / 0.8131 GB, free: 94.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03741/2.036, allocations: 31.62 MB / 0.844 GB, free: 62.06 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008726/2.044, allocations: 435.5 kB / 0.8444 GB, free: 61.63 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002191/2.047, allocations: 395.9 kB / 0.8448 GB, free: 61.25 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.01205/2.059, allocations: 5.423 MB / 0.8501 GB, free: 55.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001986/2.061, allocations: 0.6445 MB / 0.8507 GB, free: 55.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02196/2.083, allocations: 11.57 MB / 0.862 GB, free: 43.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-05/2.083, allocations: 60 kB / 0.8621 GB, free: 43.44 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001103/2.083, allocations: 28 kB / 0.8621 GB, free: 43.41 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001618/2.083, allocations: 27.89 kB / 0.8621 GB, free: 43.39 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05622/2.139, allocations: 24.45 MB / 0.886 GB, free: 18.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/2.139, allocations: 8 kB / 0.886 GB, free: 18.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004343/2.144, allocations: 0.8659 MB / 0.8869 GB, free: 17.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006953/2.151, allocations: 2.845 MB / 0.8896 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001231/2.152, allocations: 136 kB / 0.8898 GB, free: 14.97 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2992/2.451, allocations: 34.61 MB / 0.9236 GB, free: 118.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/2.451, allocations: 8.672 kB / 0.9236 GB, free: 118.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02472/2.476, allocations: 16.89 MB / 0.9401 GB, free: 111.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00511/2.481, allocations: 1.569 MB / 0.9416 GB, free: 110.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001574/2.483, allocations: 115 kB / 0.9417 GB, free: 110.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003798/2.487, allocations: 313.2 kB / 0.942 GB, free: 110.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001522/2.488, allocations: 0.4915 MB / 0.9425 GB, free: 110.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003724/2.488, allocations: 173.6 kB / 0.9426 GB, free: 110.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.006637/2.495, allocations: 4.107 MB / 0.9467 GB, free: 109 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/2.495, allocations: 0 / 0.9467 GB, free: 109 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01273/2.508, allocations: 2.593 MB / 0.9492 GB, free: 108.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 (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.001586/2.509, allocations: 315.7 kB / 0.9495 GB, free: 108.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.03978/2.549, allocations: 19.32 MB / 0.9684 GB, free: 97.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/2.549, allocations: 6.031 kB / 0.9684 GB, free: 97.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01221/2.562, allocations: 6.994 MB / 0.9752 GB, free: 90.98 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01363/2.575, allocations: 1.746 MB / 0.9769 GB, free: 89.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06638/2.642, allocations: 26.42 MB / 1.003 GB, free: 65.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01966/2.661, allocations: 9.134 MB / 1.012 GB, free: 56.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.01075/2.672, allocations: 2.637 MB / 1.014 GB, free: 53.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002211/2.674, allocations: 471.3 kB / 1.015 GB, free: 53.23 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/2.674, allocations: 0 / 1.015 GB, free: 53.23 MB / 478.1 MB Notification: Performance of Templates: time 0.4055/3.08, allocations: 120.1 MB / 1.132 GB, free: 96.51 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)