Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_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.AIMS_Start_MultiPhase,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase,tolerance=1e-05,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009562/0.0009562, allocations: 169.9 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.148/1.148, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001572/0.001572, allocations: 110.2 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.915e-05, allocations: 0 / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06168/0.06171, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/0.3774, allocations: 101.7 MB / 409.4 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.3777, allocations: 84.89 kB / 409.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8597/1.237, allocations: 210.4 MB / 0.6053 GB, free: 31.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.237, allocations: 4 kB / 0.6054 GB, free: 31.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.001097/1.239, allocations: 244.1 kB / 0.6056 GB, free: 31.63 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: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.03054/1.269, allocations: 9.218 MB / 0.6146 GB, free: 28.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/1.269, allocations: 15.06 kB / 0.6146 GB, free: 28.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008052/1.277, allocations: 1.538 MB / 0.6161 GB, free: 28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/1.295, allocations: 7.536 MB / 0.6235 GB, free: 26.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007958/1.296, allocations: 0.694 MB / 0.6241 GB, free: 26.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004135/1.3, allocations: 0.9263 MB / 0.625 GB, free: 26.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03535/1.335, allocations: 12.74 MB / 0.6375 GB, free: 25.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005709/1.336, allocations: 11.5 kB / 0.6375 GB, free: 25.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003607/1.339, allocations: 402.1 kB / 0.6379 GB, free: 25.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003847/1.34, allocations: 407.6 kB / 0.6383 GB, free: 25.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/1.365, allocations: 10.11 MB / 0.6481 GB, free: 25.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0803/1.445, allocations: 40.59 MB / 0.6878 GB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01065/1.456, allocations: 8.558 MB / 0.6961 GB, free: 1.102 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0108/1.467, allocations: 4.565 MB / 0.7006 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/1.467, allocations: 50.36 kB / 0.7006 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.71e-05/1.467, allocations: 85.95 kB / 0.7007 GB, free: 14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=431): time 6.533e-06/1.467, allocations: 0 / 0.7007 GB, free: 14 MB / 378.7 MB Notification: Performance of matching and sorting (n=439): time 0.02755/1.495, allocations: 13.83 MB / 0.7142 GB, free: 1.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.876e-05/1.495, allocations: 102.9 kB / 0.7143 GB, free: 1.523 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01854/1.513, allocations: 5.174 MB / 0.7194 GB, free: 14.89 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001116/1.515, allocations: 101.7 kB / 0.7195 GB, free: 14.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004056/1.519, allocations: 4.112 MB / 0.7235 GB, free: 11.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002044/1.521, allocations: 1.454 MB / 0.7249 GB, free: 9.805 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007776/1.521, allocations: 88 kB / 0.725 GB, free: 9.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004356/1.522, allocations: 0.4908 MB / 0.7255 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004201/1.526, allocations: 2.221 MB / 0.7276 GB, free: 7.285 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004804/1.531, allocations: 3.282 MB / 0.7308 GB, free: 3.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004821/1.536, allocations: 2.758 MB / 0.7335 GB, free: 1.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.815e-05/1.536, allocations: 8 kB / 0.7336 GB, free: 1.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=600) (initialization): time 0.2664/1.802, allocations: 7.867 MB / 0.7412 GB, free: 56.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/1.802, allocations: 19.2 kB / 0.7413 GB, free: 56.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.399e-05/1.803, allocations: 31.94 kB / 0.7413 GB, free: 56.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003663/1.806, allocations: 1.508 MB / 0.7428 GB, free: 56.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004427/1.811, allocations: 0.962 MB / 0.7437 GB, free: 56.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/1.832, allocations: 27.07 MB / 0.7701 GB, free: 38.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005005/1.837, allocations: 217.3 kB / 0.7703 GB, free: 38.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.838, allocations: 178.4 kB / 0.7705 GB, free: 38.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 (509): * Single equations (assignments): 493 * 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: 14 * 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: 14 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(4,68.8%) 25,(2,100.0%) 6,(2,100.0%) 6,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002136/1.841, allocations: 398.8 kB / 0.7709 GB, free: 38.21 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002263/1.843, allocations: 0.567 MB / 0.7714 GB, free: 38.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/1.858, allocations: 7.655 MB / 0.7789 GB, free: 37.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.331e-05/1.858, allocations: 41.91 kB / 0.779 GB, free: 37.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.296e-05/1.859, allocations: 29.69 kB / 0.779 GB, free: 37.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-05/1.859, allocations: 17.86 kB / 0.779 GB, free: 37.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03648/1.895, allocations: 17.65 MB / 0.7962 GB, free: 35.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.472e-05/1.895, allocations: 8.656 kB / 0.7963 GB, free: 35.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002002/1.897, allocations: 460.2 kB / 0.7967 GB, free: 35.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005259/1.902, allocations: 2.246 MB / 0.7989 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007647/1.903, allocations: 99.72 kB / 0.799 GB, free: 35.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03156/1.935, allocations: 34.54 MB / 0.8327 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/1.935, allocations: 12.62 kB / 0.8327 GB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02098/1.956, allocations: 12.07 MB / 0.8445 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003904/1.96, allocations: 1.196 MB / 0.8457 GB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002129/1.962, allocations: 101.4 kB / 0.8458 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004343/1.966, allocations: 250.4 kB / 0.846 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001423/1.968, allocations: 438.9 kB / 0.8464 GB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006447/1.969, allocations: 115.5 kB / 0.8465 GB, free: 6.414 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.008234/1.977, allocations: 3.53 MB / 0.85 GB, free: 5.094 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.977, allocations: 0 / 0.85 GB, free: 5.094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009313/1.986, allocations: 1.837 MB / 0.8518 GB, free: 4.918 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 14 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aims3.stator.core.Phi.re,aims3.stator.core.Phi.im,aims3.rotor.zeroInductor.i0,aims3.rotor.core.Phi.re,aims3.rotor.core.Phi.im,loadInertiaM.w,loadInertia3.w,quadraticLoadTorqueM.phi,quadraticLoadTorque3.phi) * Number of discrete variables: 16 (rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatM.booleanStep[4].y,rheostatM.booleanStep[5].y,rheostat3.booleanStep[1].y,rheostat3.booleanStep[2].y,rheostat3.booleanStep[3].y,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 (255): * Single equations (assignments): 242 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 5,(6,72.2%) 46,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(11,49.6%) 56,(1,100.0%) 8,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0016/1.988, allocations: 0.6562 MB / 0.8524 GB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01118/1.999, allocations: 7.572 MB / 0.8598 GB, free: 340 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.999, allocations: 4 kB / 0.8598 GB, free: 336 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01131/2.01, allocations: 5.946 MB / 0.8656 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009746/2.02, allocations: 1.603 MB / 0.8672 GB, free: 10 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03949/2.06, allocations: 14.97 MB / 0.8818 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/2.071, allocations: 6.318 MB / 0.888 GB, free: 7.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005164/2.076, allocations: 1.15 MB / 0.8891 GB, free: 7.184 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/2.078, allocations: 330.1 kB / 0.8894 GB, free: 6.867 MB / 426.7 MB Notification: Performance of SimCode: time 8.52e-07/2.078, allocations: 0 / 0.8894 GB, free: 6.867 MB / 426.7 MB Notification: Performance of Templates: time 0.4305/2.508, allocations: 96.95 MB / 0.9841 GB, free: 61.82 MB / 426.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.sim & ./Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_MultiPhase.pipe 2>&1)