Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001067/0.001067, allocations: 178.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.137/1.137, allocations: 194.5 MB / 211.6 MB, free: 3.055 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001655/0.001655, allocations: 107.6 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 11.98 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08459/0.08494, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3104/0.3953, allocations: 124.3 MB / 479.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.3957, allocations: 94.28 kB / 479.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5099/0.9057, allocations: 150.4 MB / 0.6151 GB, free: 49.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.9057, allocations: 0 / 0.6151 GB, free: 49.1 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006531/0.9064, allocations: 183.7 kB / 0.6153 GB, free: 48.92 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02129/0.9277, allocations: 7.259 MB / 0.6224 GB, free: 41.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.9277, allocations: 12.03 kB / 0.6224 GB, free: 41.56 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007054/0.9348, allocations: 1.244 MB / 0.6236 GB, free: 40.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01463/0.9494, allocations: 6.269 MB / 0.6298 GB, free: 33.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004321/0.9499, allocations: 0.4977 MB / 0.6302 GB, free: 33.47 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002512/0.9525, allocations: 0.6678 MB / 0.6309 GB, free: 32.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.969, allocations: 9.343 MB / 0.64 GB, free: 23.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.9691, allocations: 7.906 kB / 0.64 GB, free: 23.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006543/0.9698, allocations: 296 kB / 0.6403 GB, free: 22.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001828/0.97, allocations: 297.4 kB / 0.6406 GB, free: 22.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.9837, allocations: 7.677 MB / 0.6481 GB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2726/1.256, allocations: 29.47 MB / 0.6769 GB, free: 37.47 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009269/1.266, allocations: 11.88 MB / 0.6885 GB, free: 29.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01239/1.278, allocations: 6.995 MB / 0.6953 GB, free: 29.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/1.278, allocations: 72.75 kB / 0.6954 GB, free: 29.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=323): time 6.151e-06/1.278, allocations: 0 / 0.6954 GB, free: 29.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=342): time 0.03394/1.312, allocations: 16.32 MB / 0.7113 GB, free: 25.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/1.312, allocations: 90.59 kB / 0.7114 GB, free: 25.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.323, allocations: 3.473 MB / 0.7148 GB, free: 25.46 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006137/1.323, allocations: 85.14 kB / 0.7149 GB, free: 25.43 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002958/1.326, allocations: 3.054 MB / 0.7179 GB, free: 24.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001272/1.328, allocations: 1.145 MB / 0.719 GB, free: 23.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004941/1.328, allocations: 82.09 kB / 0.719 GB, free: 23.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003382/1.328, allocations: 456.5 kB / 0.7195 GB, free: 23.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003841/1.332, allocations: 1.937 MB / 0.7214 GB, free: 23.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003604/1.336, allocations: 2.822 MB / 0.7241 GB, free: 22.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003627/1.339, allocations: 2.358 MB / 0.7264 GB, free: 22.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-05/1.34, allocations: 7.594 kB / 0.7264 GB, free: 22.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01107/1.351, allocations: 6.508 MB / 0.7328 GB, free: 20.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.987e-05/1.351, allocations: 17.45 kB / 0.7328 GB, free: 20.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/1.351, allocations: 28.09 kB / 0.7328 GB, free: 20.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/1.353, allocations: 1.256 MB / 0.7341 GB, free: 19.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/1.356, allocations: 0.8408 MB / 0.7349 GB, free: 19.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/1.372, allocations: 21.11 MB / 0.7555 GB, free: 18.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/1.376, allocations: 211.9 kB / 0.7557 GB, free: 18.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007643/1.377, allocations: 155.7 kB / 0.7559 GB, free: 18.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (429): * Single equations (assignments): 415 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(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.005413/1.382, allocations: 2.184 MB / 0.758 GB, free: 17.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001545/1.384, allocations: 450.7 kB / 0.7584 GB, free: 16.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.395, allocations: 6.293 MB / 0.7646 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/1.395, allocations: 34.69 kB / 0.7646 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.831e-05/1.395, allocations: 14.06 kB / 0.7646 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.629e-05/1.395, allocations: 21.05 kB / 0.7646 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02393/1.419, allocations: 12.76 MB / 0.7771 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.419, allocations: 3.562 kB / 0.7771 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001966/1.421, allocations: 0.4886 MB / 0.7776 GB, free: 8.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/1.424, allocations: 1.616 MB / 0.7792 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002363/1.425, allocations: 81.19 kB / 0.7792 GB, free: 7.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02529/1.45, allocations: 30.75 MB / 0.8093 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.45, allocations: 4 kB / 0.8093 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01393/1.464, allocations: 9.375 MB / 0.8184 GB, free: 3.602 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/1.467, allocations: 0.9518 MB / 0.8193 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006515/1.467, allocations: 68 kB / 0.8194 GB, free: 2.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001983/1.469, allocations: 206.3 kB / 0.8196 GB, free: 2.504 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006432/1.47, allocations: 293.4 kB / 0.8199 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002269/1.47, allocations: 94.33 kB / 0.82 GB, free: 2.246 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004025/1.474, allocations: 2.66 MB / 0.8226 GB, free: 24 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.474, allocations: 3.281 kB / 0.8226 GB, free: 24 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.2225/1.697, allocations: 1.438 MB / 0.824 GB, free: 88.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (249): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001505/1.698, allocations: 0.5008 MB / 0.8245 GB, free: 87.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009335/1.708, allocations: 6.507 MB / 0.8308 GB, free: 86.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.708, allocations: 0 / 0.8308 GB, free: 86.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006073/1.714, allocations: 4.918 MB / 0.8356 GB, free: 84.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006219/1.72, allocations: 1.248 MB / 0.8368 GB, free: 84.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/1.747, allocations: 15.91 MB / 0.8524 GB, free: 77.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004902/1.752, allocations: 4.618 MB / 0.8569 GB, free: 76.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004263/1.756, allocations: 1.052 MB / 0.8579 GB, free: 76.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000869/1.757, allocations: 276.4 kB / 0.8582 GB, free: 76.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.232e-06/1.757, allocations: 0 / 0.8582 GB, free: 76.82 MB / 442.7 MB Notification: Performance of Templates: time 0.1205/1.877, allocations: 73.09 MB / 0.9296 GB, free: 49.6 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start.pipe 2>&1)