Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001091/0.001091, allocations: 182 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.369/1.369, allocations: 194.3 MB / 208.4 MB, free: 6.738 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.00162/0.00162, allocations: 120.7 kB / 253.5 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.723e-05/2.725e-05, allocations: 12 kB / 305 MB, free: 29.79 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07774/0.07778, allocations: 44.5 MB / 349.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3101/0.3879, allocations: 99.57 MB / 449 MB, free: 12.14 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.3881, allocations: 85.89 kB / 449.1 MB, free: 12.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1087/0.4969, allocations: 41.44 MB / 490.5 MB, free: 9.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4969, allocations: 4 kB / 490.6 MB, free: 9.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001317/0.497, allocations: 55.92 kB / 490.6 MB, free: 9.121 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003569/0.5006, allocations: 1.984 MB / 492.6 MB, free: 7.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5007, allocations: 12.03 kB / 492.6 MB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006346/0.5013, allocations: 269 kB / 492.9 MB, free: 6.938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/0.5037, allocations: 1.372 MB / 494.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.5038, allocations: 151.7 kB / 494.4 MB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/0.5041, allocations: 191.9 kB / 494.6 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003734/0.5078, allocations: 2.37 MB / 496.9 MB, free: 2.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.623e-05/0.5079, allocations: 7.938 kB / 496.9 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.5081, allocations: 76 kB / 497 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.424e-05/0.5082, allocations: 83.69 kB / 497.1 MB, free: 2.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.5111, allocations: 1.846 MB / 498.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01159/0.5227, allocations: 7.847 MB / 0.4949 GB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001908/0.5246, allocations: 1.375 MB / 0.4963 GB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.5261, allocations: 0.8916 MB / 0.4971 GB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003052/0.5264, allocations: 134.1 kB / 0.4973 GB, free: 6.344 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.5265, allocations: 51.55 kB / 0.4973 GB, free: 6.281 MB / 362.7 MB Notification: Performance of pre-optimization done (n=111): time 3.476e-06/0.5265, allocations: 0 / 0.4973 GB, free: 6.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=127): time 0.01055/0.537, allocations: 5.118 MB / 0.5023 GB, free: 1.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.5371, allocations: 64.72 kB / 0.5024 GB, free: 1.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.5386, allocations: 1.085 MB / 0.5034 GB, free: 15.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/0.5387, allocations: 49.7 kB / 0.5035 GB, free: 15.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007282/0.5394, allocations: 0.8815 MB / 0.5043 GB, free: 14.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.5398, allocations: 441.6 kB / 0.5048 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.5399, allocations: 28 kB / 0.5048 GB, free: 14.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.5401, allocations: 357.9 kB / 0.5051 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.5411, allocations: 0.6521 MB / 0.5058 GB, free: 13.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.5424, allocations: 0.9726 MB / 0.5067 GB, free: 12.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.5436, allocations: 0.8052 MB / 0.5075 GB, free: 11.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.5436, allocations: 4 kB / 0.5075 GB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003734/0.5474, allocations: 2.276 MB / 0.5097 GB, free: 9.297 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.5474, allocations: 15.94 kB / 0.5097 GB, free: 9.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.5474, allocations: 8 kB / 0.5097 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.5486, allocations: 0.4962 MB / 0.5102 GB, free: 8.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.5498, allocations: 331.5 kB / 0.5105 GB, free: 8.438 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007083/0.5569, allocations: 6.637 MB / 0.517 GB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.5582, allocations: 87.75 kB / 0.5171 GB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.5583, allocations: 56 kB / 0.5172 GB, free: 1.254 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000313/0.5586, allocations: 194 kB / 0.5174 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.5589, allocations: 150.2 kB / 0.5175 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/0.5626, allocations: 2.094 MB / 0.5195 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/0.5626, allocations: 12 kB / 0.5196 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.5627, allocations: 12 kB / 0.5196 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.5627, allocations: 7.969 kB / 0.5196 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007169/0.5699, allocations: 4.292 MB / 0.5238 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.5699, allocations: 7.938 kB / 0.5238 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/0.5709, allocations: 223.7 kB / 0.524 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001372/0.5723, allocations: 0.5512 MB / 0.5245 GB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.732e-05/0.5724, allocations: 27.98 kB / 0.5245 GB, free: 9.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008034/0.5804, allocations: 8.187 MB / 0.5325 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5805, allocations: 0 / 0.5325 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004949/0.5854, allocations: 3.16 MB / 0.5356 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008647/0.5863, allocations: 371.1 kB / 0.536 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.5865, allocations: 35.98 kB / 0.536 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007602/0.5873, allocations: 75.92 kB / 0.5361 GB, free: 13.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002573/0.5876, allocations: 96.89 kB / 0.5362 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.5877, allocations: 43.98 kB / 0.5362 GB, free: 12.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001293/0.589, allocations: 0.8421 MB / 0.537 GB, free: 12.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.589, allocations: 0 / 0.537 GB, free: 12.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001533/0.5905, allocations: 487.9 kB / 0.5375 GB, free: 11.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005243/0.5911, allocations: 297 kB / 0.5378 GB, free: 11.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003306/0.5944, allocations: 2.293 MB / 0.54 GB, free: 8.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5944, allocations: 4 kB / 0.54 GB, free: 8.926 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.5966, allocations: 1.573 MB / 0.5416 GB, free: 7.281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.5984, allocations: 380.8 kB / 0.5419 GB, free: 6.906 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005645/0.604, allocations: 3.471 MB / 0.5453 GB, free: 3.379 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/0.6054, allocations: 1.701 MB / 0.547 GB, free: 1.648 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001091/0.6065, allocations: 329 kB / 0.5473 GB, free: 1.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/0.6068, allocations: 103.4 kB / 0.5474 GB, free: 1.219 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6068, allocations: 0 / 0.5474 GB, free: 1.219 MB / 410.7 MB Notification: Performance of Templates: time 0.2251/0.8319, allocations: 25.38 MB / 0.5722 GB, free: 112.6 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1)