Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001556/0.001556, allocations: 188.1 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.272/1.272, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001593/0.001593, allocations: 116.3 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.657e-05/1.661e-05, allocations: 0 / 298.1 MB, free: 8.254 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07919/0.07922, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2788/0.358, allocations: 103.5 MB / 446 MB, free: 8.742 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.3583, allocations: 85.7 kB / 446.1 MB, free: 8.699 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1372/0.4956, allocations: 50.81 MB / 496.9 MB, free: 12.97 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4956, allocations: 0 / 496.9 MB, free: 12.97 MB / 379.1 MB Notification: Performance of Transformations before backend: time 0.0002148/0.4958, allocations: 63.92 kB / 497 MB, free: 12.91 MB / 379.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005722/0.5016, allocations: 2.438 MB / 499.4 MB, free: 10.4 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5016, allocations: 8.031 kB / 499.5 MB, free: 10.39 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/0.5029, allocations: 332.3 kB / 499.8 MB, free: 10.07 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004059/0.507, allocations: 1.763 MB / 0.4898 GB, free: 8.25 MB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.566e-05/0.5071, allocations: 64 kB / 0.4898 GB, free: 8.188 MB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004863/0.5076, allocations: 132 kB / 0.49 GB, free: 8.059 MB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003728/0.5113, allocations: 1.941 MB / 0.4919 GB, free: 6.109 MB / 379.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004607/0.5159, allocations: 2.311 MB / 0.4941 GB, free: 3.676 MB / 379.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/0.516, allocations: 7.844 kB / 0.4941 GB, free: 3.668 MB / 379.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.5162, allocations: 4 kB / 0.4941 GB, free: 3.664 MB / 379.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.5163, allocations: 91.89 kB / 0.4942 GB, free: 3.574 MB / 379.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01339/0.5297, allocations: 7.93 MB / 0.502 GB, free: 11.46 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/0.5322, allocations: 1.547 MB / 0.5035 GB, free: 9.852 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/0.5335, allocations: 0.876 MB / 0.5043 GB, free: 8.973 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/0.5339, allocations: 138.4 kB / 0.5045 GB, free: 8.82 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.5339, allocations: 51.86 kB / 0.5045 GB, free: 8.762 MB / 395.1 MB Notification: Performance of pre-optimization done (n=119): time 3.276e-06/0.5339, allocations: 0 / 0.5045 GB, free: 8.762 MB / 395.1 MB Notification: Performance of matching and sorting (n=135): time 0.00927/0.5432, allocations: 4.809 MB / 0.5092 GB, free: 3.887 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.5433, allocations: 64.72 kB / 0.5093 GB, free: 3.812 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00288/0.5462, allocations: 1.641 MB / 0.5109 GB, free: 2.168 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.5463, allocations: 29.7 kB / 0.5109 GB, free: 2.133 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000982/0.5473, allocations: 1.099 MB / 0.512 GB, free: 1.02 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/0.5478, allocations: 453.2 kB / 0.5124 GB, free: 0.5703 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.548, allocations: 0 / 0.5124 GB, free: 0.5703 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.5482, allocations: 361.9 kB / 0.5128 GB, free: 216 kB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1683/0.7165, allocations: 0.69 MB / 0.5134 GB, free: 86.78 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.7177, allocations: 0.9227 MB / 0.5143 GB, free: 86.54 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00127/0.719, allocations: 0.826 MB / 0.5151 GB, free: 86.53 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.719, allocations: 3.344 kB / 0.5151 GB, free: 86.53 MB / 395.1 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004085/0.7231, allocations: 2.583 MB / 0.5177 GB, free: 86.45 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.7232, allocations: 35.8 kB / 0.5177 GB, free: 86.41 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.7232, allocations: 6.469 kB / 0.5177 GB, free: 86.41 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/0.725, allocations: 0.8278 MB / 0.5185 GB, free: 86.39 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.7261, allocations: 274.6 kB / 0.5188 GB, free: 86.39 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009094/0.7352, allocations: 8.893 MB / 0.5275 GB, free: 83.83 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.7365, allocations: 65.86 kB / 0.5275 GB, free: 83.83 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.7366, allocations: 55.23 kB / 0.5276 GB, free: 83.83 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.7368, allocations: 138.8 kB / 0.5277 GB, free: 83.72 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.7371, allocations: 190.8 kB / 0.5279 GB, free: 83.72 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003434/0.7406, allocations: 2.348 MB / 0.5302 GB, free: 83.57 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.7406, allocations: 13.09 kB / 0.5302 GB, free: 83.57 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.7406, allocations: 9.812 kB / 0.5302 GB, free: 83.57 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.7406, allocations: 7.547 kB / 0.5302 GB, free: 83.57 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006321/0.7469, allocations: 4.595 MB / 0.5347 GB, free: 83.15 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.747, allocations: 3.281 kB / 0.5347 GB, free: 83.15 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009202/0.7479, allocations: 219.2 kB / 0.5349 GB, free: 83.15 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001552/0.7495, allocations: 0.6914 MB / 0.5356 GB, free: 83.12 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.102e-05/0.7496, allocations: 28.45 kB / 0.5356 GB, free: 83.11 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007431/0.757, allocations: 8.136 MB / 0.5436 GB, free: 78.99 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.757, allocations: 2.562 kB / 0.5436 GB, free: 78.99 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005124/0.7622, allocations: 3.434 MB / 0.5469 GB, free: 77.49 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009407/0.7631, allocations: 456 kB / 0.5473 GB, free: 77.22 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000238/0.7634, allocations: 9.219 kB / 0.5474 GB, free: 77.22 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009329/0.7643, allocations: 75.05 kB / 0.5474 GB, free: 77.21 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.7646, allocations: 108.1 kB / 0.5475 GB, free: 77.2 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.614e-05/0.7647, allocations: 40.14 kB / 0.5476 GB, free: 77.2 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001673/0.7664, allocations: 1.259 MB / 0.5488 GB, free: 76.72 MB / 395.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.7664, allocations: 0 / 0.5488 GB, free: 76.72 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001851/0.7683, allocations: 0.5263 MB / 0.5493 GB, free: 76.7 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008963/0.7692, allocations: 438.5 kB / 0.5497 GB, free: 76.6 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.003524/0.7727, allocations: 2.34 MB / 0.552 GB, free: 75.55 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7728, allocations: 1.156 kB / 0.552 GB, free: 75.55 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.775, allocations: 1.607 MB / 0.5536 GB, free: 74.68 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.7767, allocations: 327.4 kB / 0.5539 GB, free: 74.59 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006469/0.7832, allocations: 4.167 MB / 0.558 GB, free: 72.97 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.7848, allocations: 2.008 MB / 0.5599 GB, free: 72.03 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.001257/0.7861, allocations: 377.5 kB / 0.5603 GB, free: 71.99 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.7864, allocations: 124.9 kB / 0.5604 GB, free: 71.99 MB / 395.1 MB Notification: Performance of SimCode: time 1.412e-06/0.7864, allocations: 0 / 0.5604 GB, free: 71.99 MB / 395.1 MB Notification: Performance of Templates: time 0.03525/0.8217, allocations: 25.24 MB / 0.5851 GB, free: 70.39 MB / 395.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)