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.001208/0.001208, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.001384/0.001384, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.521/1.521, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001423/0.001423, allocations: 48.14 kB / 280.7 MB, free: 2.203 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1237, allocations: 46.63 MB / 327.3 MB, free: 3.508 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03841/0.1621, allocations: 35.95 MB / 363.3 MB, free: 15.4 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02571/0.1879, allocations: 9.668 MB / 373 MB, free: 5.699 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01128/0.1993, allocations: 211.2 kB / 373.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2593/0.4587, allocations: 9.081 MB / 382.2 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01827/0.477, allocations: 3.753 MB / 386 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008626/0.4856, allocations: 2.301 MB / 388.3 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02878/0.5144, allocations: 17.39 MB / 405.7 MB, free: 10 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05412/0.5686, allocations: 25.5 MB / 431.2 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01992/0.5886, allocations: 7.349 MB / 438.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02048/0.6091, allocations: 9.064 MB / 447.6 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007854/0.617, allocations: 1.559 MB / 449.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01519/0.6322, allocations: 1.95 MB / 451.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01044/0.6427, allocations: 4.026 MB / 455.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0238/0.6665, allocations: 8.459 MB / 463.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04498/0.7116, allocations: 32.34 MB / 495.9 MB, free: 5.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.7116, allocations: 0 / 495.9 MB, free: 5.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.7116, allocations: 0 / 495.9 MB, free: 5.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.001741/0.7134, allocations: 0 / 495.9 MB, free: 5.625 MB / 398.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.07466/0.7881, allocations: 19.36 MB / 0.5032 GB, free: 2.289 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.7881, allocations: 12.03 kB / 0.5032 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05416/0.8423, allocations: 9.682 MB / 0.5127 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/0.8649, allocations: 9.402 MB / 0.5219 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001226/0.8662, allocations: 1.072 MB / 0.5229 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00758/0.8737, allocations: 1.408 MB / 0.5243 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4637/1.337, allocations: 23.57 MB / 0.5473 GB, free: 126.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008225/1.338, allocations: 23.41 kB / 0.5473 GB, free: 126.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005524/1.344, allocations: 0.5819 MB / 0.5479 GB, free: 125.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001144/1.345, allocations: 0.7976 MB / 0.5487 GB, free: 125.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04809/1.393, allocations: 22.2 MB / 0.5704 GB, free: 116.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1246/1.518, allocations: 74.98 MB / 0.6436 GB, free: 49.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02803/1.546, allocations: 38.11 MB / 0.6808 GB, free: 7.855 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01057/1.556, allocations: 6.461 MB / 0.6871 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04323/1.6, allocations: 18.3 MB / 0.705 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/1.6, allocations: 103.1 kB / 0.7051 GB, free: 15.03 MB / 478.1 MB Notification: Performance of pre-optimization done (n=581): time 9.438e-06/1.6, allocations: 0 / 0.7051 GB, free: 15.03 MB / 478.1 MB Notification: Performance of matching and sorting (n=589): time 0.3078/1.908, allocations: 36.78 MB / 0.741 GB, free: 142.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/1.908, allocations: 137.2 kB / 0.7411 GB, free: 142.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/1.919, allocations: 6.071 MB / 0.7471 GB, free: 140.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001232/1.92, allocations: 125.2 kB / 0.7472 GB, free: 140.2 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003757/1.924, allocations: 6.114 MB / 0.7531 GB, free: 135.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002739/1.926, allocations: 1.996 MB / 0.7551 GB, free: 134.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005865/1.932, allocations: 1.599 MB / 0.7567 GB, free: 133.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.529e-05/1.932, allocations: 305.1 kB / 0.7569 GB, free: 133 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006941/1.939, allocations: 4.234 MB / 0.7611 GB, free: 131.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008862/1.948, allocations: 7.153 MB / 0.7681 GB, free: 126.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01588/1.964, allocations: 12.06 MB / 0.7798 GB, free: 118.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002302/1.964, allocations: 25.88 kB / 0.7799 GB, free: 118.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02803/1.992, allocations: 14.27 MB / 0.7938 GB, free: 111.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001648/1.993, allocations: 44 kB / 0.7938 GB, free: 111.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001969/1.993, allocations: 103.8 kB / 0.7939 GB, free: 111.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007007/2, allocations: 2.761 MB / 0.7966 GB, free: 109.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006684/2.006, allocations: 1.685 MB / 0.7983 GB, free: 107.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03467/2.041, allocations: 29.28 MB / 0.8269 GB, free: 77.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008227/2.049, allocations: 442 kB / 0.8273 GB, free: 77.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001967/2.051, allocations: 392 kB / 0.8277 GB, free: 76.63 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.01111/2.063, allocations: 5.427 MB / 0.833 GB, free: 71.19 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002562/2.065, allocations: 0.6405 MB / 0.8336 GB, free: 70.54 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0224/2.088, allocations: 11.57 MB / 0.8449 GB, free: 58.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.486e-05/2.088, allocations: 60 kB / 0.845 GB, free: 58.82 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.109e-05/2.088, allocations: 30.06 kB / 0.845 GB, free: 58.79 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000116/2.088, allocations: 27.89 kB / 0.845 GB, free: 58.76 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05186/2.14, allocations: 24.45 MB / 0.8689 GB, free: 34.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001194/2.14, allocations: 8 kB / 0.8689 GB, free: 34.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005058/2.145, allocations: 0.8744 MB / 0.8697 GB, free: 33.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007389/2.152, allocations: 2.811 MB / 0.8725 GB, free: 30.51 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001222/2.154, allocations: 143.9 kB / 0.8726 GB, free: 30.37 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.284/2.438, allocations: 31.84 MB / 0.9037 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/2.438, allocations: 11.91 kB / 0.9037 GB, free: 129.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02787/2.466, allocations: 16.88 MB / 0.9202 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004418/2.47, allocations: 1.562 MB / 0.9218 GB, free: 122.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002596/2.473, allocations: 123.1 kB / 0.9219 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004802/2.478, allocations: 314.4 kB / 0.9222 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001897/2.479, allocations: 497.4 kB / 0.9226 GB, free: 121.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007216/2.48, allocations: 169 kB / 0.9228 GB, free: 121.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.008854/2.489, allocations: 4.106 MB / 0.9268 GB, free: 120.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.91e-07/2.489, allocations: 0 / 0.9268 GB, free: 120.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01349/2.503, allocations: 2.592 MB / 0.9293 GB, free: 120.1 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,32.3%), (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.001596/2.504, allocations: 319.4 kB / 0.9297 GB, free: 119.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02116/2.525, allocations: 11.92 MB / 0.9413 GB, free: 114.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/2.525, allocations: 3.688 kB / 0.9413 GB, free: 114.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01275/2.538, allocations: 6.995 MB / 0.9481 GB, free: 111.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01339/2.552, allocations: 1.651 MB / 0.9497 GB, free: 111 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06383/2.615, allocations: 32.42 MB / 0.9814 GB, free: 82.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01928/2.635, allocations: 9.133 MB / 0.9903 GB, free: 75.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.009337/2.644, allocations: 2.633 MB / 0.9929 GB, free: 72.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002428/2.647, allocations: 471.3 kB / 0.9933 GB, free: 72.41 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/2.647, allocations: 3.5 kB / 0.9933 GB, free: 72.41 MB / 478.1 MB Notification: Performance of Templates: time 0.3811/3.028, allocations: 116.2 MB / 1.107 GB, free: 118.4 MB / 494.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)