Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00507/0.00507, allocations: 110.3 kB / 15.74 MB, free: 6.453 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.001177/0.001177, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.43/1.43, allocations: 205.1 MB / 222.6 MB, free: 4.535 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.001332/0.001332, allocations: 53.8 kB / 328 MB, free: 13.31 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1086, allocations: 46.62 MB / 374.6 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.04012/0.1488, allocations: 36.58 MB / 411.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02839/0.1773, allocations: 9.765 MB / 421 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01156/0.1889, allocations: 227.2 kB / 421.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0248/0.2138, allocations: 9.753 MB / 430.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01772/0.2315, allocations: 4.18 MB / 435.1 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00899/0.2405, allocations: 2.468 MB / 437.6 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.5678/0.8083, allocations: 17.07 MB / 454.6 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0583/0.8667, allocations: 31.24 MB / 485.9 MB, free: 3.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01667/0.8834, allocations: 8.87 MB / 494.7 MB, free: 0 / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02091/0.9043, allocations: 9.635 MB / 0.4926 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01273/0.9171, allocations: 2.516 MB / 0.495 GB, free: 8.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01333/0.9305, allocations: 2.906 MB / 0.4979 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01237/0.9429, allocations: 5.025 MB / 0.5028 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02476/0.9677, allocations: 9.478 MB / 0.512 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05017/1.018, allocations: 33.21 MB / 0.5444 GB, free: 9.164 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/1.018, allocations: 8 kB / 0.5445 GB, free: 9.156 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/1.018, allocations: 0 / 0.5445 GB, free: 9.156 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001173/1.019, allocations: 0 / 0.5445 GB, free: 9.156 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.07063/1.09, allocations: 19.31 MB / 0.5633 GB, free: 5.879 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/1.09, allocations: 8.031 kB / 0.5633 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05411/1.144, allocations: 9.722 MB / 0.5728 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02356/1.168, allocations: 9.495 MB / 0.5821 GB, free: 3.125 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001391/1.169, allocations: 1.061 MB / 0.5831 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008685/1.178, allocations: 1.407 MB / 0.5845 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07084/1.249, allocations: 23.57 MB / 0.6075 GB, free: 9.051 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001164/1.25, allocations: 27.27 kB / 0.6075 GB, free: 9.027 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007611/1.257, allocations: 0.5893 MB / 0.6081 GB, free: 8.453 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0011/1.259, allocations: 0.799 MB / 0.6089 GB, free: 7.652 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05791/1.317, allocations: 22.21 MB / 0.6306 GB, free: 1.441 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4046/1.721, allocations: 74.07 MB / 0.7029 GB, free: 115.8 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.025/1.746, allocations: 38.1 MB / 0.7401 GB, free: 80.49 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008575/1.755, allocations: 6.506 MB / 0.7465 GB, free: 75.51 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02849/1.783, allocations: 18.22 MB / 0.7643 GB, free: 57.34 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/1.783, allocations: 95.11 kB / 0.7644 GB, free: 57.24 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=581): time 6.963e-06/1.783, allocations: 0 / 0.7644 GB, free: 57.24 MB / 0.5138 GB Notification: Performance of matching and sorting (n=589): time 0.08647/1.87, allocations: 37.23 MB / 0.8007 GB, free: 19.73 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/1.87, allocations: 137.8 kB / 0.8009 GB, free: 19.58 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009534/1.88, allocations: 6.08 MB / 0.8068 GB, free: 13.48 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001668/1.881, allocations: 121.7 kB / 0.8069 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.003203/1.885, allocations: 6.122 MB / 0.8129 GB, free: 7.199 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002543/1.887, allocations: 1.992 MB / 0.8148 GB, free: 5.223 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002522/1.89, allocations: 1.6 MB / 0.8164 GB, free: 3.609 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.262e-05/1.89, allocations: 301.1 kB / 0.8167 GB, free: 3.312 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005748/1.895, allocations: 4.232 MB / 0.8208 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009815/1.905, allocations: 7.16 MB / 0.8278 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3203/2.226, allocations: 12.04 MB / 0.8396 GB, free: 165 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/2.226, allocations: 27.53 kB / 0.8396 GB, free: 165 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02928/2.255, allocations: 14.27 MB / 0.8535 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.001e-05/2.255, allocations: 49.16 kB / 0.8536 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001639/2.255, allocations: 95.56 kB / 0.8537 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006497/2.262, allocations: 2.774 MB / 0.8564 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00661/2.269, allocations: 1.698 MB / 0.858 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03472/2.303, allocations: 31.6 MB / 0.8889 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007249/2.311, allocations: 436.4 kB / 0.8893 GB, free: 139.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/2.313, allocations: 387.1 kB / 0.8897 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.01192/2.325, allocations: 5.432 MB / 0.895 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001871/2.326, allocations: 0.6375 MB / 0.8956 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01877/2.345, allocations: 11.56 MB / 0.9069 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/2.345, allocations: 60 kB / 0.9069 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.527e-05/2.345, allocations: 28 kB / 0.907 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.627e-05/2.345, allocations: 32.77 kB / 0.907 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04068/2.386, allocations: 24.41 MB / 0.9308 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.507e-05/2.386, allocations: 4 kB / 0.9308 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003637/2.39, allocations: 0.8745 MB / 0.9317 GB, free: 103.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006517/2.396, allocations: 2.811 MB / 0.9344 GB, free: 101 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008206/2.397, allocations: 144 kB / 0.9346 GB, free: 100.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03357/2.431, allocations: 34.57 MB / 0.9683 GB, free: 65.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/2.431, allocations: 15.92 kB / 0.9684 GB, free: 65.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02256/2.453, allocations: 16.88 MB / 0.9848 GB, free: 48.47 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004172/2.458, allocations: 1.581 MB / 0.9864 GB, free: 46.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/2.459, allocations: 116 kB / 0.9865 GB, free: 46.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003321/2.462, allocations: 311.7 kB / 0.9868 GB, free: 46.45 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001206/2.464, allocations: 0.4893 MB / 0.9873 GB, free: 45.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003626/2.464, allocations: 176 kB / 0.9874 GB, free: 45.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005919/2.47, allocations: 4.1 MB / 0.9914 GB, free: 41.69 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.51e-07/2.47, allocations: 4 kB / 0.9914 GB, free: 41.68 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01023/2.48, allocations: 2.593 MB / 0.994 GB, free: 39.09 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.00104/2.481, allocations: 311.7 kB / 0.9943 GB, free: 38.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01747/2.499, allocations: 11.96 MB / 1.006 GB, free: 26.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/2.499, allocations: 0 / 1.006 GB, free: 26.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.01163/2.51, allocations: 7.006 MB / 1.013 GB, free: 19.62 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008306/2.519, allocations: 1.734 MB / 1.014 GB, free: 17.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3593/2.878, allocations: 26.1 MB / 1.04 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02221/2.9, allocations: 9.133 MB / 1.049 GB, free: 147.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00871/2.909, allocations: 2.633 MB / 1.051 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/2.911, allocations: 469.9 kB / 1.052 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.452e-06/2.911, allocations: 0 / 1.052 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.1983/3.109, allocations: 115.4 MB / 1.165 GB, free: 59.03 MB / 0.5294 GB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -nls=newton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1)