Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001075/0.001075, allocations: 182.7 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.297/1.297, allocations: 194.3 MB / 208.4 MB, free: 6.695 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.001592/0.001592, allocations: 110.3 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.477e-05, allocations: 4 kB / 305 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06982/0.06986, allocations: 44.5 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2964/0.3663, allocations: 98.29 MB / 447.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.3666, allocations: 90.27 kB / 447.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.106/0.4726, allocations: 41.06 MB / 488.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4726, allocations: 0 / 488.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001248/0.4728, allocations: 47.94 kB / 488.9 MB, free: 10.71 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.003549/0.4763, allocations: 1.979 MB / 490.9 MB, free: 8.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.4764, allocations: 12.03 kB / 490.9 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006633/0.477, allocations: 261.1 kB / 491.2 MB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.4797, allocations: 1.417 MB / 492.6 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.4798, allocations: 135.6 kB / 492.7 MB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.4801, allocations: 183.9 kB / 492.9 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0036/0.4837, allocations: 2.33 MB / 495.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/0.4838, allocations: 7.938 kB / 495.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.484, allocations: 72 kB / 495.3 MB, free: 4.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.632e-05/0.4841, allocations: 83.48 kB / 495.4 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002886/0.4869, allocations: 1.841 MB / 497.2 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01148/0.4984, allocations: 7.495 MB / 0.4929 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.5003, allocations: 1.276 MB / 0.4941 GB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.5016, allocations: 0.8177 MB / 0.4949 GB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.5019, allocations: 126.4 kB / 0.4951 GB, free: 8.551 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.5019, allocations: 55.23 kB / 0.4951 GB, free: 8.488 MB / 362.7 MB Notification: Performance of pre-optimization done (n=87): time 2.846e-06/0.5019, allocations: 0 / 0.4951 GB, free: 8.488 MB / 362.7 MB Notification: Performance of matching and sorting (n=103): time 0.007229/0.5092, allocations: 4.098 MB / 0.4991 GB, free: 4.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.5092, allocations: 64.41 kB / 0.4992 GB, free: 4.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.5109, allocations: 1.18 MB / 0.5003 GB, free: 3.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.968e-05/0.511, allocations: 41.7 kB / 0.5004 GB, free: 3.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/0.5116, allocations: 0.897 MB / 0.5012 GB, free: 2.105 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002785/0.5119, allocations: 362.8 kB / 0.5016 GB, free: 1.746 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.512, allocations: 28 kB / 0.5016 GB, free: 1.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5121, allocations: 353.9 kB / 0.502 GB, free: 1.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/0.513, allocations: 0.6078 MB / 0.5026 GB, free: 0.7617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.5141, allocations: 0.9026 MB / 0.5034 GB, free: 15.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.5152, allocations: 0.7426 MB / 0.5042 GB, free: 15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.5153, allocations: 4 kB / 0.5042 GB, free: 14.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.004286/0.5195, allocations: 2.387 MB / 0.5065 GB, free: 12.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.5196, allocations: 12 kB / 0.5065 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.5196, allocations: 8 kB / 0.5065 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001969/0.5216, allocations: 0.7626 MB / 0.5073 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008598/0.5225, allocations: 231.7 kB / 0.5075 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.5334, allocations: 8.557 MB / 0.5158 GB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.5347, allocations: 84.08 kB / 0.5159 GB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.5348, allocations: 51.94 kB / 0.516 GB, free: 2.605 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000247/0.5351, allocations: 178 kB / 0.5161 GB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002494/0.5353, allocations: 142.2 kB / 0.5163 GB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003364/0.5387, allocations: 1.866 MB / 0.5181 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.5387, allocations: 12 kB / 0.5181 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5387, allocations: 4 kB / 0.5181 GB, free: 392 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.5387, allocations: 3.984 kB / 0.5181 GB, free: 388 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006797/0.5455, allocations: 3.976 MB / 0.522 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.5456, allocations: 0 / 0.522 GB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008522/0.5464, allocations: 200 kB / 0.5222 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.5477, allocations: 466.8 kB / 0.5226 GB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.069e-05/0.5478, allocations: 23.98 kB / 0.5227 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006221/0.5541, allocations: 6.188 MB / 0.5287 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5541, allocations: 0 / 0.5287 GB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004327/0.5584, allocations: 2.861 MB / 0.5315 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008968/0.5594, allocations: 367.2 kB / 0.5318 GB, free: 1.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.5596, allocations: 32 kB / 0.5319 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000762/0.5603, allocations: 71.92 kB / 0.5319 GB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/0.5606, allocations: 84.66 kB / 0.532 GB, free: 1.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.749e-05/0.5607, allocations: 27.98 kB / 0.532 GB, free: 1.484 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001368/0.562, allocations: 0.9094 MB / 0.5329 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.562, allocations: 0 / 0.5329 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001578/0.5636, allocations: 475.9 kB / 0.5334 GB, free: 108 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 84 * 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: 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%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005186/0.5641, allocations: 300 kB / 0.5337 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003297/0.5675, allocations: 1.996 MB / 0.5356 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5675, allocations: 4.062 kB / 0.5356 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.5695, allocations: 1.323 MB / 0.5369 GB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.5713, allocations: 344.9 kB / 0.5372 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006154/0.5775, allocations: 3.317 MB / 0.5405 GB, free: 8.672 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.5789, allocations: 1.727 MB / 0.5422 GB, free: 6.906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001196/0.5802, allocations: 320.1 kB / 0.5425 GB, free: 6.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.5804, allocations: 95.42 kB / 0.5426 GB, free: 6.496 MB / 410.7 MB Notification: Performance of SimCode: time 2.515e-06/0.5805, allocations: 0 / 0.5426 GB, free: 6.496 MB / 410.7 MB Notification: Performance of Templates: time 0.2104/0.7908, allocations: 24.82 MB / 0.5668 GB, free: 112.6 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1)