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.008914/0.008914, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001205/0.001205, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.553/1.553, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001244/0.001244, allocations: 54.2 kB / 328 MB, free: 13.67 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1194, allocations: 46.62 MB / 374.6 MB, free: 12 kB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03937/0.1588, allocations: 36.58 MB / 411.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02647/0.1853, allocations: 9.772 MB / 421 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01034/0.1957, allocations: 227.2 kB / 421.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0262/0.222, allocations: 9.663 MB / 430.9 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01976/0.2418, allocations: 4.098 MB / 434.9 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0101/0.2519, allocations: 2.464 MB / 437.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.5524/0.8044, allocations: 17.07 MB / 454.5 MB, free: 7.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05208/0.8565, allocations: 31.24 MB / 485.7 MB, free: 3.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01565/0.8722, allocations: 8.844 MB / 494.6 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01924/0.8915, allocations: 9.636 MB / 0.4924 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008712/0.9003, allocations: 2.516 MB / 0.4948 GB, free: 8.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01181/0.9121, allocations: 2.899 MB / 0.4977 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01061/0.9228, allocations: 5.03 MB / 0.5026 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02221/0.945, allocations: 9.473 MB / 0.5118 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04954/0.9946, allocations: 33.29 MB / 0.5443 GB, free: 9.281 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.9946, allocations: 0 / 0.5443 GB, free: 9.281 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.9947, allocations: 0 / 0.5443 GB, free: 9.281 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001143/0.9958, allocations: 0 / 0.5443 GB, free: 9.281 MB / 446.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.06826/1.064, allocations: 19.66 MB / 0.5635 GB, free: 5.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/1.064, allocations: 12.03 kB / 0.5636 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05505/1.119, allocations: 9.797 MB / 0.5731 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0256/1.145, allocations: 9.528 MB / 0.5824 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001277/1.146, allocations: 1.067 MB / 0.5835 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007023/1.153, allocations: 1.408 MB / 0.5848 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06749/1.221, allocations: 23.58 MB / 0.6079 GB, free: 8.699 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004559/1.221, allocations: 19.28 kB / 0.6079 GB, free: 8.684 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003748/1.225, allocations: 0.5898 MB / 0.6085 GB, free: 8.109 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008191/1.226, allocations: 0.799 MB / 0.6092 GB, free: 7.309 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0472/1.273, allocations: 22.21 MB / 0.6309 GB, free: 1.098 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4181/1.691, allocations: 74.25 MB / 0.7034 GB, free: 115.4 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02782/1.719, allocations: 38.1 MB / 0.7406 GB, free: 80.04 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009897/1.729, allocations: 6.509 MB / 0.747 GB, free: 75.08 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02956/1.759, allocations: 18.25 MB / 0.7648 GB, free: 57.06 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/1.759, allocations: 95.16 kB / 0.7649 GB, free: 56.96 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=581): time 6.522e-06/1.759, allocations: 0 / 0.7649 GB, free: 56.96 MB / 0.5138 GB Notification: Performance of matching and sorting (n=589): time 0.08354/1.842, allocations: 37.54 MB / 0.8016 GB, free: 19.73 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/1.842, allocations: 141.8 kB / 0.8017 GB, free: 19.57 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008176/1.85, allocations: 6.084 MB / 0.8077 GB, free: 13.54 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001023/1.852, allocations: 121.7 kB / 0.8078 GB, free: 13.41 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003132/1.855, allocations: 6.325 MB / 0.8139 GB, free: 7.332 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001978/1.857, allocations: 2.097 MB / 0.816 GB, free: 5.266 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002287/1.859, allocations: 1.605 MB / 0.8176 GB, free: 3.648 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.599e-05/1.859, allocations: 301.1 kB / 0.8178 GB, free: 3.352 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005481/1.865, allocations: 4.236 MB / 0.822 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00894/1.873, allocations: 7.16 MB / 0.829 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2874/2.161, allocations: 12.05 MB / 0.8407 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.992e-05/2.161, allocations: 26.09 kB / 0.8408 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02716/2.188, allocations: 14.3 MB / 0.8547 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-05/2.188, allocations: 48.62 kB / 0.8548 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001554/2.188, allocations: 98.38 kB / 0.8549 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006539/2.195, allocations: 2.771 MB / 0.8576 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006431/2.201, allocations: 1.69 MB / 0.8592 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03525/2.237, allocations: 31.63 MB / 0.8901 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009495/2.246, allocations: 439.7 kB / 0.8905 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001893/2.248, allocations: 386.1 kB / 0.8909 GB, free: 139.6 MB / 0.5294 GB 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.01307/2.261, allocations: 5.427 MB / 0.8962 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002813/2.264, allocations: 0.6747 MB / 0.8969 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/2.284, allocations: 11.55 MB / 0.9081 GB, free: 128.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-05/2.284, allocations: 60 kB / 0.9082 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.928e-05/2.284, allocations: 28 kB / 0.9082 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-05/2.284, allocations: 38.78 kB / 0.9083 GB, free: 128 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04509/2.329, allocations: 24.41 MB / 0.9321 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.009e-05/2.329, allocations: 8 kB / 0.9321 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003659/2.333, allocations: 0.862 MB / 0.933 GB, free: 104 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006868/2.34, allocations: 2.819 MB / 0.9357 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006947/2.341, allocations: 136 kB / 0.9358 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0349/2.376, allocations: 34.62 MB / 0.9697 GB, free: 65.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/2.376, allocations: 11.94 kB / 0.9697 GB, free: 65.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02588/2.402, allocations: 16.92 MB / 0.9862 GB, free: 48.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004709/2.406, allocations: 1.598 MB / 0.9877 GB, free: 46.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002037/2.408, allocations: 120 kB / 0.9879 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004904/2.413, allocations: 307.7 kB / 0.9882 GB, free: 46.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00166/2.415, allocations: 0.4932 MB / 0.9886 GB, free: 46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005884/2.416, allocations: 172 kB / 0.9888 GB, free: 45.84 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.009235/2.425, allocations: 4.104 MB / 0.9928 GB, free: 41.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/2.425, allocations: 0 / 0.9928 GB, free: 41.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01467/2.44, allocations: 2.592 MB / 0.9953 GB, free: 39.14 MB / 0.5294 GB 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.001753/2.441, allocations: 315.8 kB / 0.9956 GB, free: 38.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02173/2.463, allocations: 11.98 MB / 1.007 GB, free: 26.74 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/2.463, allocations: 4 kB / 1.007 GB, free: 26.74 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01146/2.475, allocations: 7.02 MB / 1.014 GB, free: 19.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01309/2.488, allocations: 1.728 MB / 1.016 GB, free: 17.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3444/2.832, allocations: 26.48 MB / 1.042 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01994/2.852, allocations: 9.134 MB / 1.051 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009509/2.862, allocations: 2.632 MB / 1.053 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002643/2.864, allocations: 471.8 kB / 1.054 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.503e-06/2.864, allocations: 3.969 kB / 1.054 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.211/3.075, allocations: 115.4 MB / 1.166 GB, free: 58.73 MB / 0.5294 GB 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)