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.001037/0.001037, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008577/0.008577, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.4 MB / 222.4 MB, free: 5.566 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.0005641/0.0005639, allocations: 12 kB / 280.8 MB, free: 11.12 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.314, 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.03712/0.3512, allocations: 34.53 MB / 363 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02631/0.3775, allocations: 9.59 MB / 372.5 MB, free: 6.918 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01241/0.39, allocations: 215.2 kB / 372.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.4015, allocations: 2.356 MB / 375.1 MB, free: 4.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01924/0.4208, allocations: 3.737 MB / 378.8 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00935/0.4302, allocations: 2.269 MB / 381.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02787/0.4581, allocations: 17.39 MB / 398.5 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05856/0.5167, allocations: 29.07 MB / 427.6 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01462/0.5314, allocations: 6.122 MB / 433.7 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01558/0.547, allocations: 7.469 MB / 441.2 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005188/0.5522, allocations: 0.9648 MB / 442.1 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009558/0.5618, allocations: 1.347 MB / 443.5 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007688/0.5695, allocations: 3.191 MB / 446.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01863/0.5882, allocations: 7.485 MB / 454.2 MB, free: 4.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.5063/1.095, allocations: 31.12 MB / 485.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/1.095, allocations: 3.812 kB / 485.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/1.095, allocations: 0 / 485.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001131/1.096, allocations: 0 / 485.3 MB, free: 38.71 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.05186/1.148, allocations: 16.1 MB / 0.4896 GB, free: 30.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/1.148, allocations: 7.688 kB / 0.4896 GB, free: 30.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05119/1.199, allocations: 9.722 MB / 0.4991 GB, free: 27.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02082/1.22, allocations: 9.433 MB / 0.5083 GB, free: 21.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/1.221, allocations: 1.071 MB / 0.5094 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007643/1.228, allocations: 1.41 MB / 0.5108 GB, free: 20.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06305/1.292, allocations: 23.6 MB / 0.5338 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006108/1.292, allocations: 23.38 kB / 0.5338 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004812/1.297, allocations: 0.5798 MB / 0.5344 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008755/1.298, allocations: 0.8013 MB / 0.5352 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05263/1.351, allocations: 22.23 MB / 0.5569 GB, free: 6.863 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3986/1.749, allocations: 75.27 MB / 0.6304 GB, free: 119.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02738/1.777, allocations: 38.1 MB / 0.6676 GB, free: 90.89 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01194/1.789, allocations: 6.482 MB / 0.6739 GB, free: 90.79 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03389/1.823, allocations: 18.32 MB / 0.6918 GB, free: 83.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.657e-05/1.823, allocations: 99.45 kB / 0.6919 GB, free: 82.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=581): time 7.664e-06/1.823, allocations: 0 / 0.6919 GB, free: 82.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=589): time 0.08909/1.912, allocations: 36.98 MB / 0.728 GB, free: 49.98 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/1.912, allocations: 141.7 kB / 0.7282 GB, free: 49.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009534/1.921, allocations: 6.068 MB / 0.7341 GB, free: 43.73 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001361/1.923, allocations: 121.7 kB / 0.7342 GB, free: 43.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003296/1.926, allocations: 6.123 MB / 0.7402 GB, free: 37.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00261/1.929, allocations: 1.992 MB / 0.7421 GB, free: 35.48 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/1.93, allocations: 0.6564 MB / 0.7428 GB, free: 34.81 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 6.033e-05/1.93, allocations: 301.1 kB / 0.7431 GB, free: 34.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006196/1.936, allocations: 4.256 MB / 0.7472 GB, free: 30.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007167/1.944, allocations: 7.171 MB / 0.7542 GB, free: 21.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01374/1.957, allocations: 12.09 MB / 0.766 GB, free: 8.312 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.056e-05/1.957, allocations: 28 kB / 0.7661 GB, free: 8.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=1051) (initialization): time 0.02622/1.984, allocations: 14.31 MB / 0.78 GB, free: 9.91 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.753e-05/1.984, allocations: 45.88 kB / 0.7801 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001678/1.984, allocations: 96 kB / 0.7802 GB, free: 9.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007537/1.991, allocations: 2.77 MB / 0.7829 GB, free: 6.988 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007436/1.999, allocations: 1.692 MB / 0.7845 GB, free: 5.293 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.26/2.259, allocations: 29.32 MB / 0.8132 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007733/2.267, allocations: 446.2 kB / 0.8136 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00176/2.269, allocations: 386 kB / 0.814 GB, free: 140.4 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.01336/2.282, allocations: 5.432 MB / 0.8193 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/2.284, allocations: 0.6414 MB / 0.8199 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01875/2.302, allocations: 11.6 MB / 0.8312 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.054e-05/2.302, allocations: 62.06 kB / 0.8313 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-05/2.302, allocations: 27.25 kB / 0.8313 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.169e-05/2.303, allocations: 34.06 kB / 0.8313 GB, free: 133.2 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04762/2.35, allocations: 24.49 MB / 0.8552 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.685e-05/2.35, allocations: 9.359 kB / 0.8553 GB, free: 117.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004507/2.355, allocations: 0.8713 MB / 0.8561 GB, free: 116.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007109/2.362, allocations: 2.816 MB / 0.8589 GB, free: 114.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001196/2.363, allocations: 140 kB / 0.859 GB, free: 114 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03335/2.396, allocations: 31.91 MB / 0.8901 GB, free: 81.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/2.397, allocations: 11.94 kB / 0.8902 GB, free: 81.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02506/2.422, allocations: 16.94 MB / 0.9067 GB, free: 64.37 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004849/2.426, allocations: 1.585 MB / 0.9082 GB, free: 62.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002063/2.429, allocations: 120 kB / 0.9084 GB, free: 62.65 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004607/2.433, allocations: 323.7 kB / 0.9087 GB, free: 62.33 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00139/2.435, allocations: 0.495 MB / 0.9092 GB, free: 61.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003932/2.435, allocations: 172 kB / 0.9093 GB, free: 61.67 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007504/2.442, allocations: 4.108 MB / 0.9133 GB, free: 57.56 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.9e-07/2.443, allocations: 0 / 0.9133 GB, free: 57.56 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01243/2.455, allocations: 2.593 MB / 0.9159 GB, free: 54.97 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.001657/2.457, allocations: 331.2 kB / 0.9162 GB, free: 54.65 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01899/2.476, allocations: 11.94 MB / 0.9278 GB, free: 42.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/2.476, allocations: 4.25 kB / 0.9278 GB, free: 42.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01139/2.487, allocations: 7.014 MB / 0.9347 GB, free: 35.48 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01798/2.505, allocations: 1.643 MB / 0.9363 GB, free: 33.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2804/2.786, allocations: 32.6 MB / 0.9681 GB, free: 139.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01345/2.799, allocations: 9.129 MB / 0.977 GB, free: 138.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.008184/2.807, allocations: 2.629 MB / 0.9796 GB, free: 138.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001576/2.809, allocations: 469.9 kB / 0.9801 GB, free: 138.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.573e-06/2.809, allocations: 4 kB / 0.9801 GB, free: 138.3 MB / 478.1 MB Notification: Performance of Templates: time 0.1831/2.992, allocations: 114 MB / 1.091 GB, free: 41.56 MB / 478.1 MB 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)