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.006617/0.006617, allocations: 165.3 kB / 15.11 MB, free: 5.973 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.549/1.549, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001349/0.001349, allocations: 111.3 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003066/0.0003066, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2138, allocations: 38.77 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1193/0.3332, allocations: 99.44 MB / 412.3 MB, free: 7.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.3335, allocations: 87.95 kB / 412.4 MB, free: 6.949 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7693/1.103, allocations: 175.3 MB / 0.5739 GB, free: 44.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.268e-06/1.103, allocations: 3.5 kB / 0.5739 GB, free: 44.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0008899/1.104, allocations: 193.4 kB / 0.5741 GB, free: 44.11 MB / 362.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.02955/1.133, allocations: 8.234 MB / 0.5822 GB, free: 41.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/1.133, allocations: 10.69 kB / 0.5822 GB, free: 41.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006638/1.14, allocations: 1.307 MB / 0.5834 GB, free: 40.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01385/1.154, allocations: 5.827 MB / 0.5891 GB, free: 39.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007379/1.155, allocations: 0.5726 MB / 0.5897 GB, free: 39.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00348/1.158, allocations: 0.766 MB / 0.5904 GB, free: 39.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02873/1.187, allocations: 10.52 MB / 0.6007 GB, free: 39.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002847/1.187, allocations: 7.781 kB / 0.6007 GB, free: 39.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001974/1.189, allocations: 330.9 kB / 0.601 GB, free: 39.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002877/1.19, allocations: 342.6 kB / 0.6014 GB, free: 39.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02055/1.21, allocations: 8.505 MB / 0.6097 GB, free: 38.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0603/1.271, allocations: 32.73 MB / 0.6416 GB, free: 21.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008177/1.279, allocations: 8.199 MB / 0.6496 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/1.279, allocations: 42.05 kB / 0.6497 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.842e-05/1.279, allocations: 74.73 kB / 0.6497 GB, free: 15.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=351): time 4.869e-06/1.279, allocations: 0 / 0.6497 GB, free: 15.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=411): time 0.05204/1.331, allocations: 19.37 MB / 0.6687 GB, free: 14.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/1.331, allocations: 94.64 kB / 0.6687 GB, free: 14.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.342, allocations: 3.796 MB / 0.6725 GB, free: 10.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001227/1.343, allocations: 97.7 kB / 0.6725 GB, free: 10.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003469/1.347, allocations: 3.351 MB / 0.6758 GB, free: 7.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0024/1.349, allocations: 1.377 MB / 0.6772 GB, free: 6.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007369/1.35, allocations: 87.28 kB / 0.6772 GB, free: 6.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004209/1.35, allocations: 473.7 kB / 0.6777 GB, free: 6.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004258/1.354, allocations: 2.199 MB / 0.6798 GB, free: 4.211 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/1.359, allocations: 3.099 MB / 0.6829 GB, free: 1.129 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.25/1.609, allocations: 3.1 MB / 0.6859 GB, free: 54.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.323e-05/1.609, allocations: 6.594 kB / 0.6859 GB, free: 54.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=550) (initialization): time 0.01509/1.624, allocations: 7.321 MB / 0.6931 GB, free: 54.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/1.624, allocations: 14.25 kB / 0.6931 GB, free: 54.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-05/1.625, allocations: 26.84 kB / 0.6931 GB, free: 54.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00354/1.628, allocations: 1.446 MB / 0.6945 GB, free: 54.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004002/1.632, allocations: 0.8414 MB / 0.6953 GB, free: 54.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/1.656, allocations: 20.5 MB / 0.7153 GB, free: 46.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004485/1.66, allocations: 178.4 kB / 0.7155 GB, free: 46.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008191/1.661, allocations: 153.8 kB / 0.7157 GB, free: 46.68 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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 () * Number of clocked 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%) 27,(1,100.0%) 5,(1,100.0%) 1,(6,77.8%) 41,(1,100.0%) 1,(4,56.2%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006912/1.668, allocations: 2.661 MB / 0.7183 GB, free: 46.56 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001536/1.669, allocations: 484.6 kB / 0.7187 GB, free: 46.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01289/1.682, allocations: 7.272 MB / 0.7258 GB, free: 45.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/1.682, allocations: 37 kB / 0.7259 GB, free: 45.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.861e-05/1.682, allocations: 24.44 kB / 0.7259 GB, free: 45.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.403e-05/1.682, allocations: 22.22 kB / 0.7259 GB, free: 45.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03689/1.719, allocations: 17.07 MB / 0.7426 GB, free: 40.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.935e-05/1.719, allocations: 6.719 kB / 0.7426 GB, free: 40.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/1.721, allocations: 484.4 kB / 0.743 GB, free: 40.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00381/1.725, allocations: 1.763 MB / 0.7448 GB, free: 39.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004487/1.726, allocations: 95.77 kB / 0.7449 GB, free: 39.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02772/1.754, allocations: 28.67 MB / 0.7729 GB, free: 19.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.754, allocations: 10.61 kB / 0.7729 GB, free: 19.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01544/1.769, allocations: 10.88 MB / 0.7835 GB, free: 14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003455/1.773, allocations: 1.07 MB / 0.7845 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.774, allocations: 94.17 kB / 0.7846 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002976/1.777, allocations: 195.6 kB / 0.7848 GB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/1.778, allocations: 361.2 kB / 0.7852 GB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003767/1.778, allocations: 110.3 kB / 0.7853 GB, free: 13.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007207/1.785, allocations: 2.928 MB / 0.7881 GB, free: 12.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/1.786, allocations: 0 / 0.7881 GB, free: 12.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008865/1.794, allocations: 1.553 MB / 0.7896 GB, free: 11.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.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.core.Phi.re,aimc3.stator.core.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (255): * Single equations (assignments): 246 * 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%) 40,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 8,(5,92.0%) 25,(1,100.0%) 5,(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.001382/1.796, allocations: 477 kB / 0.7901 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01182/1.808, allocations: 6.914 MB / 0.7968 GB, free: 6.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.808, allocations: 0 / 0.7968 GB, free: 6.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008277/1.816, allocations: 5.028 MB / 0.8018 GB, free: 2.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008395/1.824, allocations: 1.196 MB / 0.8029 GB, free: 1.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05367/1.878, allocations: 18.89 MB / 0.8214 GB, free: 1.703 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01322/1.891, allocations: 5.38 MB / 0.8266 GB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005801/1.897, allocations: 0.9688 MB / 0.8276 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/1.899, allocations: 277.9 kB / 0.8278 GB, free: 12.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/1.899, allocations: 0 / 0.8278 GB, free: 12.78 MB / 410.7 MB Notification: Performance of Templates: time 0.3877/2.287, allocations: 79.86 MB / 0.9058 GB, free: 69.63 MB / 410.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)