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.005281/0.005281, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001282/0.001282, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.509/1.509, allocations: 205.1 MB / 222.6 MB, free: 4.484 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.001246/0.001246, allocations: 46.94 kB / 328 MB, free: 13.54 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1137, allocations: 46.64 MB / 374.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.0402/0.154, allocations: 36.57 MB / 411.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02459/0.1786, allocations: 9.768 MB / 421 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01016/0.1888, allocations: 223.2 kB / 421.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02561/0.2145, allocations: 9.753 MB / 430.9 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01918/0.2337, allocations: 4.176 MB / 435.1 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009782/0.2435, allocations: 2.468 MB / 437.6 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.5703/0.8139, allocations: 17.07 MB / 454.6 MB, free: 8.203 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05169/0.8656, allocations: 31.24 MB / 485.9 MB, free: 3.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01477/0.8804, allocations: 8.838 MB / 494.7 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01766/0.8981, allocations: 9.636 MB / 0.4925 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009547/0.9077, allocations: 2.516 MB / 0.495 GB, free: 8.082 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01235/0.92, allocations: 2.897 MB / 0.4978 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00981/0.9299, allocations: 5.027 MB / 0.5027 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02306/0.953, allocations: 9.48 MB / 0.512 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04358/0.9966, allocations: 33.2 MB / 0.5444 GB, free: 9.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9966, allocations: 0 / 0.5444 GB, free: 9.148 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.858e-06/0.9966, allocations: 3.984 kB / 0.5444 GB, free: 9.145 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001046/0.9977, allocations: 0 / 0.5444 GB, free: 9.145 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.07281/1.071, allocations: 19.3 MB / 0.5633 GB, free: 5.871 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/1.071, allocations: 8.031 kB / 0.5633 GB, free: 5.863 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0553/1.126, allocations: 9.727 MB / 0.5728 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.028/1.154, allocations: 9.492 MB / 0.582 GB, free: 3.113 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001657/1.156, allocations: 1.072 MB / 0.5831 GB, free: 2.055 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007806/1.164, allocations: 1.396 MB / 0.5845 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07131/1.235, allocations: 23.58 MB / 0.6075 GB, free: 9.027 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006914/1.236, allocations: 27.45 kB / 0.6075 GB, free: 9.004 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005619/1.241, allocations: 0.5775 MB / 0.6081 GB, free: 8.441 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008573/1.242, allocations: 0.8107 MB / 0.6089 GB, free: 7.629 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05038/1.292, allocations: 22.21 MB / 0.6306 GB, free: 1.422 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4262/1.719, allocations: 74.06 MB / 0.7029 GB, free: 115.9 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02898/1.748, allocations: 38.1 MB / 0.7401 GB, free: 80.61 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01046/1.758, allocations: 6.512 MB / 0.7464 GB, free: 75.68 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0346/1.793, allocations: 18.23 MB / 0.7642 GB, free: 57.5 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.649e-05/1.793, allocations: 95.17 kB / 0.7643 GB, free: 57.39 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=581): time 1.018e-05/1.793, allocations: 3.938 kB / 0.7643 GB, free: 57.39 MB / 0.5138 GB Notification: Performance of matching and sorting (n=589): time 0.0905/1.884, allocations: 37.22 MB / 0.8007 GB, free: 19.89 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/1.884, allocations: 137.8 kB / 0.8008 GB, free: 19.73 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01034/1.894, allocations: 6.076 MB / 0.8068 GB, free: 13.64 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/1.895, allocations: 121.7 kB / 0.8069 GB, free: 13.52 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002847/1.898, allocations: 6.124 MB / 0.8129 GB, free: 7.359 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00213/1.9, allocations: 1.996 MB / 0.8148 GB, free: 5.383 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004169/1.904, allocations: 1.6 MB / 0.8164 GB, free: 3.77 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.504e-05/1.904, allocations: 301.1 kB / 0.8167 GB, free: 3.473 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006821/1.911, allocations: 4.232 MB / 0.8208 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.922, allocations: 7.16 MB / 0.8278 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3069/2.229, allocations: 12.04 MB / 0.8395 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002111/2.229, allocations: 27.38 kB / 0.8396 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.03218/2.261, allocations: 14.27 MB / 0.8535 GB, free: 160 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.585e-05/2.261, allocations: 49 kB / 0.8535 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/2.261, allocations: 96.41 kB / 0.8536 GB, free: 160 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006773/2.268, allocations: 2.761 MB / 0.8563 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00755/2.276, allocations: 1.702 MB / 0.858 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03521/2.311, allocations: 31.61 MB / 0.8889 GB, free: 140 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007829/2.319, allocations: 432.1 kB / 0.8893 GB, free: 139.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/2.321, allocations: 392.2 kB / 0.8896 GB, free: 139.8 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.01228/2.333, allocations: 5.422 MB / 0.8949 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002098/2.335, allocations: 0.6413 MB / 0.8956 GB, free: 137.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01839/2.354, allocations: 11.56 MB / 0.9068 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-05/2.354, allocations: 60 kB / 0.9069 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-05/2.354, allocations: 35.8 kB / 0.9069 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.925e-05/2.354, allocations: 30.75 kB / 0.907 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0546/2.408, allocations: 24.41 MB / 0.9308 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.633e-05/2.409, allocations: 4 kB / 0.9308 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004703/2.413, allocations: 0.8752 MB / 0.9317 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008048/2.421, allocations: 2.81 MB / 0.9344 GB, free: 101.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001912/2.423, allocations: 140 kB / 0.9345 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04298/2.466, allocations: 34.57 MB / 0.9683 GB, free: 65.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/2.466, allocations: 19.92 kB / 0.9683 GB, free: 65.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03148/2.498, allocations: 16.88 MB / 0.9848 GB, free: 48.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005367/2.503, allocations: 1.57 MB / 0.9863 GB, free: 47.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003328/2.507, allocations: 120 kB / 0.9865 GB, free: 47.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006004/2.513, allocations: 311.7 kB / 0.9867 GB, free: 46.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002636/2.515, allocations: 0.4932 MB / 0.9872 GB, free: 46.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001441/2.517, allocations: 176 kB / 0.9874 GB, free: 46.14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01067/2.527, allocations: 4.1 MB / 0.9914 GB, free: 42.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/2.527, allocations: 0 / 0.9914 GB, free: 42.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01621/2.544, allocations: 2.596 MB / 0.9939 GB, free: 39.44 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.002258/2.546, allocations: 308 kB / 0.9942 GB, free: 39.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.02311/2.569, allocations: 11.96 MB / 1.006 GB, free: 27.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.725e-05/2.569, allocations: 7.938 kB / 1.006 GB, free: 27.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01362/2.583, allocations: 6.995 MB / 1.013 GB, free: 19.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01474/2.598, allocations: 1.736 MB / 1.014 GB, free: 18.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3715/2.969, allocations: 26.1 MB / 1.04 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02799/2.997, allocations: 9.14 MB / 1.049 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01254/3.01, allocations: 2.633 MB / 1.051 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003309/3.013, allocations: 466.2 kB / 1.052 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of SimCode: time 9.22e-07/3.013, allocations: 0 / 1.052 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.1914/3.205, allocations: 115.4 MB / 1.165 GB, free: 59.41 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)