Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-05,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,tolerance=1e-05,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009957/0.0009956, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.147/1.147, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001584/0.001584, allocations: 111.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.249e-05/2.253e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06136/0.06139, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2625/0.3239, allocations: 99.35 MB / 407 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.3241, allocations: 86.14 kB / 407.1 MB, free: 9.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5047/0.8289, allocations: 175.6 MB / 0.569 GB, free: 17.17 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.829, allocations: 0 / 0.569 GB, free: 17.17 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004931/0.8295, allocations: 191.8 kB / 0.5692 GB, free: 16.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2059 * Number of variables: 2059 Notification: Performance of Generate backend data structure: time 0.01785/0.8473, allocations: 7.507 MB / 0.5765 GB, free: 9.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.8474, allocations: 12.03 kB / 0.5765 GB, free: 9.375 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005547/0.8529, allocations: 1.301 MB / 0.5778 GB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01209/0.865, allocations: 5.806 MB / 0.5834 GB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005136/0.8656, allocations: 0.5707 MB / 0.584 GB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002604/0.8682, allocations: 0.7654 MB / 0.5848 GB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2434/1.112, allocations: 10.31 MB / 0.5948 GB, free: 26.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002769/1.112, allocations: 8.375 kB / 0.5948 GB, free: 26.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00175/1.114, allocations: 331.7 kB / 0.5951 GB, free: 26.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003998/1.114, allocations: 340 kB / 0.5955 GB, free: 26.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/1.133, allocations: 8.198 MB / 0.6035 GB, free: 26.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05431/1.187, allocations: 32.72 MB / 0.6354 GB, free: 19.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007151/1.194, allocations: 8.067 MB / 0.6433 GB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004528/1.199, allocations: 3.511 MB / 0.6467 GB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/1.199, allocations: 45.08 kB / 0.6468 GB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/1.199, allocations: 71.39 kB / 0.6468 GB, free: 12.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=351): time 5.891e-06/1.199, allocations: 1.844 kB / 0.6469 GB, free: 12.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=415): time 0.02567/1.225, allocations: 14.15 MB / 0.6607 GB, free: 6.398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/1.225, allocations: 93.83 kB / 0.6608 GB, free: 6.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00601/1.231, allocations: 3.751 MB / 0.6644 GB, free: 4.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006772/1.232, allocations: 98.02 kB / 0.6645 GB, free: 4.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001824/1.233, allocations: 3.347 MB / 0.6678 GB, free: 2.301 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001135/1.235, allocations: 1.391 MB / 0.6691 GB, free: 1.219 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/1.235, allocations: 91.31 kB / 0.6692 GB, free: 1.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/1.235, allocations: 476.9 kB / 0.6697 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.238, allocations: 2.073 MB / 0.6717 GB, free: 0 / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003542/1.241, allocations: 3 MB / 0.6746 GB, free: 14.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003734/1.245, allocations: 2.608 MB / 0.6772 GB, free: 12.99 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/1.245, allocations: 7.312 kB / 0.6772 GB, free: 12.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=554) (initialization): time 0.01175/1.257, allocations: 7.076 MB / 0.6841 GB, free: 10.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/1.257, allocations: 17.72 kB / 0.6841 GB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/1.257, allocations: 25.66 kB / 0.6841 GB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003463/1.261, allocations: 1.478 MB / 0.6856 GB, free: 9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003611/1.264, allocations: 0.8288 MB / 0.6864 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02382/1.288, allocations: 20.18 MB / 0.7061 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/1.292, allocations: 174.9 kB / 0.7063 GB, free: 5.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008182/1.293, allocations: 163.6 kB / 0.7064 GB, free: 4.875 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 120 * Number of states: 0 () * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (437): * Single equations (assignments): 429 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,100.0%) 29,(1,100.0%) 5,(1,100.0%) 1,(6,77.8%) 43,(1,100.0%) 1,(4,56.2%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008357/1.294, allocations: 351.6 kB / 0.7068 GB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.295, allocations: 485.7 kB / 0.7072 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/1.307, allocations: 7.035 MB / 0.7141 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/1.308, allocations: 43.14 kB / 0.7141 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.662e-05/1.308, allocations: 26.34 kB / 0.7142 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-05/1.308, allocations: 19.41 kB / 0.7142 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2411/1.549, allocations: 17.43 MB / 0.7312 GB, free: 63.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-05/1.549, allocations: 8.031 kB / 0.7312 GB, free: 63.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002619/1.551, allocations: 488 kB / 0.7317 GB, free: 63.39 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004765/1.556, allocations: 1.795 MB / 0.7334 GB, free: 63.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007161/1.557, allocations: 99.2 kB / 0.7335 GB, free: 63.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02853/1.585, allocations: 28.04 MB / 0.7609 GB, free: 51.49 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/1.586, allocations: 15.16 kB / 0.7609 GB, free: 51.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01521/1.601, allocations: 11.12 MB / 0.7718 GB, free: 48.87 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/1.604, allocations: 1.078 MB / 0.7728 GB, free: 48.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/1.605, allocations: 95.23 kB / 0.7729 GB, free: 48.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002672/1.607, allocations: 195.1 kB / 0.7731 GB, free: 48.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.609, allocations: 373.8 kB / 0.7735 GB, free: 48.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002817/1.609, allocations: 117.6 kB / 0.7736 GB, free: 48.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00519/1.614, allocations: 2.879 MB / 0.7764 GB, free: 48.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.614, allocations: 0 / 0.7764 GB, free: 48.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006802/1.621, allocations: 1.564 MB / 0.7779 GB, free: 48.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.port_n.Phi.re,aimcM.stator.port_n.Phi.im,aimcM.stator.strayReluctance.Phi.re,aimcM.stator.strayReluctance.Phi.im,aimcM.rotorCage.strayInductor.inductor[4].i,aimcM.rotorCage.strayInductor.inductor[5].i,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.port_n.Phi.re,aimc3.stator.port_n.Phi.im,aimc3.stator.strayReluctance.Phi.re,aimc3.stator.strayReluctance.Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (booleanStepM[1].y,booleanStepM[2].y,booleanStepM[3].y,booleanStepM[4].y,booleanStepM[5].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(6,77.8%) 42,(6,72.2%) 45,(1,100.0%) 1,(1,100.0%) 8,(4,100.0%) 28,(1,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001131/1.622, allocations: 0.538 MB / 0.7784 GB, free: 48.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009373/1.631, allocations: 6.652 MB / 0.7849 GB, free: 47.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.631, allocations: 5.594 kB / 0.7849 GB, free: 47.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007139/1.639, allocations: 5.055 MB / 0.7899 GB, free: 46.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005844/1.644, allocations: 1.196 MB / 0.791 GB, free: 46.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02462/1.669, allocations: 13.17 MB / 0.8039 GB, free: 42.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006369/1.676, allocations: 5.382 MB / 0.8092 GB, free: 40.74 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003606/1.679, allocations: 0.96 MB / 0.8101 GB, free: 40.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00085/1.68, allocations: 283.9 kB / 0.8104 GB, free: 40.63 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/1.68, allocations: 0 / 0.8104 GB, free: 40.63 MB / 394.7 MB Notification: Performance of Templates: time 0.3328/2.013, allocations: 80.54 MB / 0.889 GB, free: 58.7 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1)