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.0007693/0.0007696, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.00476/0.00476, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.457/1.457, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0004848/0.0004851, allocations: 8 kB / 280.9 MB, free: 11.11 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3113, allocations: 47.58 MB / 328.4 MB, free: 1.859 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD): time 0.03686/0.3482, allocations: 34.52 MB / 363 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02869/0.3769, allocations: 9.59 MB / 372.5 MB, free: 6.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/0.3872, allocations: 215.2 kB / 372.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009665/0.3969, allocations: 2.36 MB / 375.1 MB, free: 4.332 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01885/0.4158, allocations: 3.725 MB / 378.8 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01064/0.4264, allocations: 2.277 MB / 381.1 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02815/0.4546, allocations: 17.4 MB / 398.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0601/0.5148, allocations: 29.07 MB / 427.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01247/0.5273, allocations: 6.122 MB / 433.7 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01687/0.5442, allocations: 7.465 MB / 441.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004993/0.5492, allocations: 0.9648 MB / 442.1 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008028/0.5573, allocations: 1.355 MB / 443.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00574/0.563, allocations: 3.18 MB / 446.7 MB, free: 12.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01898/0.5821, allocations: 7.493 MB / 454.2 MB, free: 4.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4988/1.081, allocations: 31.11 MB / 485.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.081, allocations: 2.469 kB / 485.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.226e-06/1.081, allocations: 0 / 485.3 MB, free: 38.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001101/1.082, allocations: 0 / 485.3 MB, free: 38.68 MB / 382.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.04954/1.132, allocations: 16.1 MB / 0.4896 GB, free: 30.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/1.132, allocations: 9.094 kB / 0.4896 GB, free: 30.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05132/1.183, allocations: 9.721 MB / 0.4991 GB, free: 27.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02008/1.203, allocations: 9.438 MB / 0.5083 GB, free: 21.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009143/1.204, allocations: 1.068 MB / 0.5094 GB, free: 21.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006511/1.211, allocations: 1.407 MB / 0.5108 GB, free: 20.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06324/1.274, allocations: 23.6 MB / 0.5338 GB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008497/1.275, allocations: 19.98 kB / 0.5338 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006263/1.281, allocations: 0.5877 MB / 0.5344 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001001/1.282, allocations: 0.7952 MB / 0.5352 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05862/1.341, allocations: 22.24 MB / 0.5569 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3918/1.733, allocations: 75.26 MB / 0.6304 GB, free: 119.8 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02679/1.759, allocations: 38.09 MB / 0.6676 GB, free: 91.17 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009913/1.769, allocations: 6.479 MB / 0.6739 GB, free: 91.08 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03688/1.806, allocations: 18.32 MB / 0.6918 GB, free: 83.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.188e-05/1.806, allocations: 105.1 kB / 0.6919 GB, free: 83.1 MB / 462.1 MB Notification: Performance of pre-optimization done (n=581): time 9.649e-06/1.806, allocations: 0 / 0.6919 GB, free: 83.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=589): time 0.102/1.908, allocations: 36.96 MB / 0.728 GB, free: 49.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.969e-05/1.909, allocations: 141.8 kB / 0.7282 GB, free: 49.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01343/1.922, allocations: 6.072 MB / 0.7341 GB, free: 43.66 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001481/1.924, allocations: 121.7 kB / 0.7342 GB, free: 43.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004392/1.928, allocations: 6.131 MB / 0.7402 GB, free: 37.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002994/1.931, allocations: 1.994 MB / 0.7421 GB, free: 35.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002876/1.934, allocations: 0.6525 MB / 0.7428 GB, free: 34.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.753e-05/1.934, allocations: 301.1 kB / 0.7431 GB, free: 34.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007987/1.942, allocations: 4.248 MB / 0.7472 GB, free: 30.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009287/1.951, allocations: 7.175 MB / 0.7542 GB, free: 21.66 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/1.967, allocations: 12.1 MB / 0.766 GB, free: 8.227 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001055/1.967, allocations: 24 kB / 0.7661 GB, free: 8.203 MB / 462.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.03112/1.998, allocations: 14.3 MB / 0.78 GB, free: 9.836 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/1.999, allocations: 53.84 kB / 0.7801 GB, free: 9.785 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002245/1.999, allocations: 99.98 kB / 0.7802 GB, free: 9.688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008159/2.007, allocations: 2.775 MB / 0.7829 GB, free: 6.895 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007558/2.015, allocations: 1.688 MB / 0.7845 GB, free: 5.203 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2592/2.274, allocations: 29.32 MB / 0.8132 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008397/2.282, allocations: 448.2 kB / 0.8136 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00196/2.284, allocations: 389.6 kB / 0.814 GB, free: 140.5 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.01384/2.298, allocations: 5.424 MB / 0.8193 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/2.3, allocations: 0.6448 MB / 0.8199 GB, free: 138 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0206/2.321, allocations: 11.6 MB / 0.8312 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.203e-05/2.321, allocations: 58.28 kB / 0.8313 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001061/2.321, allocations: 32.41 kB / 0.8313 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001512/2.321, allocations: 30.89 kB / 0.8313 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04711/2.368, allocations: 24.48 MB / 0.8552 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-05/2.368, allocations: 11.94 kB / 0.8553 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003947/2.372, allocations: 0.8791 MB / 0.8561 GB, free: 116.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006796/2.379, allocations: 2.821 MB / 0.8589 GB, free: 114 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/2.38, allocations: 132 kB / 0.859 GB, free: 113.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03312/2.413, allocations: 31.91 MB / 0.8902 GB, free: 81.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/2.414, allocations: 4 kB / 0.8902 GB, free: 81.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02567/2.439, allocations: 16.94 MB / 0.9067 GB, free: 64.29 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005836/2.445, allocations: 1.586 MB / 0.9083 GB, free: 62.68 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002743/2.448, allocations: 116 kB / 0.9084 GB, free: 62.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005588/2.453, allocations: 323.7 kB / 0.9087 GB, free: 62.25 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002202/2.456, allocations: 0.4983 MB / 0.9092 GB, free: 61.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001152/2.457, allocations: 176 kB / 0.9093 GB, free: 61.58 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.009058/2.466, allocations: 4.1 MB / 0.9133 GB, free: 57.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.32e-07/2.466, allocations: 0 / 0.9133 GB, free: 57.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01479/2.481, allocations: 2.593 MB / 0.9159 GB, free: 54.89 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.002183/2.483, allocations: 320.3 kB / 0.9162 GB, free: 54.58 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02142/2.504, allocations: 11.95 MB / 0.9278 GB, free: 42.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/2.504, allocations: 7.062 kB / 0.9278 GB, free: 42.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01307/2.518, allocations: 7.026 MB / 0.9347 GB, free: 35.39 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.017/2.535, allocations: 1.631 MB / 0.9363 GB, free: 33.76 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2865/2.821, allocations: 32.59 MB / 0.9681 GB, free: 136 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01605/2.837, allocations: 9.134 MB / 0.977 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0122/2.849, allocations: 2.633 MB / 0.9796 GB, free: 134.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00297/2.852, allocations: 465.8 kB / 0.9801 GB, free: 134.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.664e-06/2.852, allocations: 0 / 0.9801 GB, free: 134.8 MB / 478.1 MB Notification: Performance of Templates: time 0.1833/3.036, allocations: 114 MB / 1.091 GB, free: 37.88 MB / 478.1 MB 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)