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.001223/0.001223, allocations: 108.6 kB / 16.62 MB, free: 6.812 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.001214/0.001214, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.577/1.577, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001202/0.001202, allocations: 52.14 kB / 280.9 MB, free: 2.102 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1181, allocations: 46.63 MB / 327.5 MB, free: 3.402 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03906/0.1572, allocations: 35.94 MB / 363.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02525/0.1825, allocations: 9.621 MB / 373.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009164/0.1917, allocations: 215.2 kB / 373.3 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.246/0.4378, allocations: 9.094 MB / 382.4 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0161/0.4539, allocations: 3.718 MB / 386.1 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007643/0.4616, allocations: 2.278 MB / 388.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0258/0.4874, allocations: 17.16 MB / 405.6 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05486/0.5423, allocations: 35.12 MB / 440.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01814/0.5605, allocations: 8.716 MB / 449.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01977/0.5803, allocations: 9.698 MB / 459.1 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00861/0.5889, allocations: 2.508 MB / 461.6 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/0.6034, allocations: 2.904 MB / 464.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01067/0.6141, allocations: 5.037 MB / 469.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02657/0.6407, allocations: 9.476 MB / 479 MB, free: 6.336 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04804/0.6888, allocations: 33 MB / 0.5 GB, free: 5.879 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.6889, allocations: 4 kB / 0.5 GB, free: 5.875 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.6889, allocations: 0 / 0.5 GB, free: 5.875 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.001077/0.6899, allocations: 0 / 0.5 GB, free: 5.875 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.06672/0.7567, allocations: 19.36 MB / 0.5189 GB, free: 2.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.7567, allocations: 8.031 kB / 0.5189 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05493/0.8117, allocations: 9.683 MB / 0.5284 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4131/1.225, allocations: 9.399 MB / 0.5376 GB, free: 132.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001798/1.227, allocations: 1.068 MB / 0.5386 GB, free: 132.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007909/1.235, allocations: 1.411 MB / 0.54 GB, free: 132.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07393/1.309, allocations: 23.58 MB / 0.563 GB, free: 123.9 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000928/1.31, allocations: 18.25 kB / 0.563 GB, free: 123.9 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006534/1.316, allocations: 0.579 MB / 0.5636 GB, free: 123.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008546/1.317, allocations: 0.8058 MB / 0.5644 GB, free: 123.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05152/1.369, allocations: 22.2 MB / 0.5861 GB, free: 110 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1325/1.501, allocations: 74.98 MB / 0.6593 GB, free: 34.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02995/1.531, allocations: 38.1 MB / 0.6965 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01575/1.547, allocations: 6.466 MB / 0.7028 GB, free: 2.203 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2853/1.832, allocations: 18.29 MB / 0.7207 GB, free: 149.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.633e-05/1.832, allocations: 97.33 kB / 0.7208 GB, free: 149.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=581): time 8.737e-06/1.832, allocations: 0 / 0.7208 GB, free: 149.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=589): time 0.101/1.933, allocations: 37.23 MB / 0.7571 GB, free: 139.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/1.933, allocations: 137.5 kB / 0.7573 GB, free: 139.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/1.947, allocations: 6.075 MB / 0.7632 GB, free: 137.4 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001516/1.949, allocations: 120.7 kB / 0.7633 GB, free: 137.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003992/1.953, allocations: 6.126 MB / 0.7693 GB, free: 132.7 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002623/1.955, allocations: 1.99 MB / 0.7712 GB, free: 131.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003238/1.959, allocations: 1.601 MB / 0.7728 GB, free: 130.4 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.462e-05/1.959, allocations: 305.7 kB / 0.7731 GB, free: 130.1 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006936/1.966, allocations: 4.235 MB / 0.7772 GB, free: 128.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009083/1.975, allocations: 7.159 MB / 0.7842 GB, free: 122.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/1.99, allocations: 12.05 MB / 0.796 GB, free: 110.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000122/1.99, allocations: 28 kB / 0.796 GB, free: 110.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02905/2.02, allocations: 14.27 MB / 0.8099 GB, free: 96.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/2.02, allocations: 55.66 kB / 0.81 GB, free: 96.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001893/2.02, allocations: 95.94 kB / 0.8101 GB, free: 96.38 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007247/2.027, allocations: 2.785 MB / 0.8128 GB, free: 93.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006962/2.034, allocations: 1.692 MB / 0.8145 GB, free: 91.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03671/2.071, allocations: 31.62 MB / 0.8453 GB, free: 59.47 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008638/2.08, allocations: 431.4 kB / 0.8457 GB, free: 59.05 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002375/2.082, allocations: 388 kB / 0.8461 GB, free: 58.67 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.01333/2.095, allocations: 5.434 MB / 0.8514 GB, free: 53.22 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002823/2.098, allocations: 0.6405 MB / 0.852 GB, free: 52.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02279/2.121, allocations: 11.57 MB / 0.8633 GB, free: 40.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.395e-05/2.121, allocations: 60 kB / 0.8634 GB, free: 40.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001212/2.121, allocations: 32 kB / 0.8634 GB, free: 40.84 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001499/2.121, allocations: 35.81 kB / 0.8635 GB, free: 40.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05146/2.173, allocations: 24.44 MB / 0.8873 GB, free: 16.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.051e-05/2.173, allocations: 8.781 kB / 0.8873 GB, free: 16.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004298/2.177, allocations: 0.8659 MB / 0.8882 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2525/2.43, allocations: 2.83 MB / 0.891 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001739/2.432, allocations: 136.5 kB / 0.8911 GB, free: 134.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04201/2.474, allocations: 34.62 MB / 0.9249 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/2.474, allocations: 11.84 kB / 0.9249 GB, free: 116.2 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02864/2.502, allocations: 16.87 MB / 0.9414 GB, free: 108.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005265/2.508, allocations: 1.564 MB / 0.9429 GB, free: 108.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002486/2.51, allocations: 126.5 kB / 0.943 GB, free: 108.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005523/2.516, allocations: 306.3 kB / 0.9433 GB, free: 108.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002006/2.518, allocations: 0.4986 MB / 0.9438 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007043/2.519, allocations: 169.5 kB / 0.944 GB, free: 108.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.009768/2.528, allocations: 4.104 MB / 0.948 GB, free: 106.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.5e-07/2.528, allocations: 7.5 kB / 0.948 GB, free: 106.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01663/2.545, allocations: 2.585 MB / 0.9505 GB, free: 106.3 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.002126/2.547, allocations: 323.2 kB / 0.9508 GB, free: 106.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.04173/2.589, allocations: 19.33 MB / 0.9697 GB, free: 95.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/2.589, allocations: 0 / 0.9697 GB, free: 95.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0133/2.602, allocations: 7.01 MB / 0.9765 GB, free: 88.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01363/2.616, allocations: 1.739 MB / 0.9782 GB, free: 87.46 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.058/2.674, allocations: 32.42 MB / 1.01 GB, free: 57.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01685/2.691, allocations: 9.136 MB / 1.019 GB, free: 48.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.009838/2.701, allocations: 2.629 MB / 1.021 GB, free: 46.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002391/2.703, allocations: 471.3 kB / 1.022 GB, free: 45.58 MB / 478.1 MB Notification: Performance of SimCode: time 8.82e-07/2.703, allocations: 4 kB / 1.022 GB, free: 45.58 MB / 478.1 MB Notification: Performance of Templates: time 0.4365/3.14, allocations: 120.2 MB / 1.139 GB, free: 87.23 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)