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.001493/0.001493, allocations: 181.9 kB / 13.64 MB, free: 1.676 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.343/1.343, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.00158/0.001579, allocations: 118.3 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.596e-05/2.6e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06969/0.06973, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3512/0.421, allocations: 124.2 MB / 473.7 MB, free: 4.117 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4213, allocations: 90.44 kB / 473.8 MB, free: 4.07 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5516/0.9729, allocations: 150.7 MB / 0.6098 GB, free: 70.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.819e-06/0.973, allocations: 0 / 0.6098 GB, free: 70.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005799/0.9736, allocations: 176.8 kB / 0.61 GB, free: 70.93 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.02024/0.9938, allocations: 6.566 MB / 0.6164 GB, free: 64.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.9939, allocations: 11.97 kB / 0.6164 GB, free: 64.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007136/1.001, allocations: 1.24 MB / 0.6176 GB, free: 63.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01533/1.016, allocations: 6.23 MB / 0.6237 GB, free: 57.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004278/1.017, allocations: 0.5005 MB / 0.6242 GB, free: 56.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002637/1.02, allocations: 0.6588 MB / 0.6248 GB, free: 56.33 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/1.043, allocations: 9.185 MB / 0.6338 GB, free: 46.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003127/1.043, allocations: 11.84 kB / 0.6338 GB, free: 46.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002109/1.045, allocations: 287.8 kB / 0.6341 GB, free: 46.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002347/1.046, allocations: 293.4 kB / 0.6343 GB, free: 46.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01596/1.062, allocations: 7.441 MB / 0.6416 GB, free: 38.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04743/1.109, allocations: 29.49 MB / 0.6704 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009734/1.119, allocations: 11.76 MB / 0.6819 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005852/1.125, allocations: 3.275 MB / 0.6851 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01386/1.139, allocations: 6.853 MB / 0.6918 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.547e-05/1.139, allocations: 68.97 kB / 0.6918 GB, free: 1.742 MB / 410.7 MB Notification: Performance of pre-optimization done (n=306): time 5.48e-06/1.139, allocations: 0 / 0.6918 GB, free: 1.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=325): time 0.2773/1.416, allocations: 11.92 MB / 0.7035 GB, free: 75.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/1.416, allocations: 85.28 kB / 0.7036 GB, free: 75.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007948/1.424, allocations: 3.452 MB / 0.7069 GB, free: 75.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009819/1.425, allocations: 80.33 kB / 0.707 GB, free: 75.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002213/1.427, allocations: 3.081 MB / 0.71 GB, free: 74.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001326/1.429, allocations: 1.089 MB / 0.7111 GB, free: 73.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/1.429, allocations: 76.78 kB / 0.7112 GB, free: 73.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/1.429, allocations: 460.1 kB / 0.7116 GB, free: 73.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/1.432, allocations: 1.794 MB / 0.7134 GB, free: 73.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/1.435, allocations: 2.689 MB / 0.716 GB, free: 72.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002918/1.437, allocations: 2.229 MB / 0.7182 GB, free: 72.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/1.437, allocations: 10.88 kB / 0.7182 GB, free: 72.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.01012/1.448, allocations: 6.208 MB / 0.7242 GB, free: 71.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/1.448, allocations: 16.81 kB / 0.7242 GB, free: 71.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.082e-05/1.448, allocations: 26.72 kB / 0.7243 GB, free: 71.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/1.451, allocations: 1.25 MB / 0.7255 GB, free: 71.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003705/1.455, allocations: 0.8191 MB / 0.7263 GB, free: 71.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/1.47, allocations: 20.69 MB / 0.7465 GB, free: 56.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/1.474, allocations: 201.5 kB / 0.7467 GB, free: 56.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006769/1.475, allocations: 154.5 kB / 0.7468 GB, free: 56.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 402 * 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.000793/1.476, allocations: 337.3 kB / 0.7472 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.477, allocations: 444.4 kB / 0.7476 GB, free: 55.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0095/1.486, allocations: 5.974 MB / 0.7534 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/1.486, allocations: 30.41 kB / 0.7534 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.235e-05/1.486, allocations: 16.16 kB / 0.7535 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.388e-05/1.486, allocations: 16.5 kB / 0.7535 GB, free: 52.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02235/1.509, allocations: 12.27 MB / 0.7655 GB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.509, allocations: 2.5 kB / 0.7655 GB, free: 47.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002453/1.511, allocations: 466.2 kB / 0.7659 GB, free: 47.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004297/1.516, allocations: 1.602 MB / 0.7675 GB, free: 47.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006491/1.516, allocations: 76.25 kB / 0.7675 GB, free: 47.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0217/1.538, allocations: 30.14 MB / 0.797 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.538, allocations: 7.375 kB / 0.797 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/1.551, allocations: 8.863 MB / 0.8056 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003183/1.554, allocations: 0.9178 MB / 0.8065 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/1.555, allocations: 67.61 kB / 0.8066 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002724/1.558, allocations: 206.3 kB / 0.8068 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006747/1.559, allocations: 285.3 kB / 0.8071 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/1.559, allocations: 89.86 kB / 0.8072 GB, free: 14.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004157/1.563, allocations: 2.626 MB / 0.8097 GB, free: 11.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.563, allocations: 0 / 0.8097 GB, free: 11.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005938/1.569, allocations: 1.386 MB / 0.8111 GB, free: 10.59 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 215 * 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%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(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.001117/1.57, allocations: 0.5585 MB / 0.8116 GB, free: 10.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007729/1.578, allocations: 6.172 MB / 0.8176 GB, free: 4.277 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.719e-06/1.578, allocations: 4 kB / 0.8177 GB, free: 4.273 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00614/1.584, allocations: 4.716 MB / 0.8223 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006706/1.591, allocations: 1.252 MB / 0.8235 GB, free: 14.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/1.614, allocations: 11.04 MB / 0.8343 GB, free: 4.926 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004998/1.619, allocations: 4.617 MB / 0.8388 GB, free: 1.484 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0042/1.623, allocations: 1.037 MB / 0.8398 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008623/1.624, allocations: 269.4 kB / 0.84 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/1.624, allocations: 0 / 0.84 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of Templates: time 0.3817/2.006, allocations: 73.51 MB / 0.9118 GB, free: 87.87 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)