Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001039/0.001039, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.273/1.273, allocations: 170.6 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00158/0.00158, allocations: 99.47 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.579e-05/1.581e-05, allocations: 0 / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07108/0.07112, allocations: 38.77 MB / 301 MB, free: 3.637 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2779/0.3491, allocations: 97.65 MB / 398.6 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.3494, allocations: 85.45 kB / 398.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1236/0.473, allocations: 48.22 MB / 446.9 MB, free: 8.453 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4731, allocations: 0 / 446.9 MB, free: 8.453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002185/0.4733, allocations: 55.94 kB / 447 MB, free: 8.398 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.006407/0.4797, allocations: 2.423 MB / 449.4 MB, free: 5.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.4798, allocations: 12.03 kB / 449.4 MB, free: 5.898 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/0.4811, allocations: 336.3 kB / 449.8 MB, free: 5.566 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003621/0.4848, allocations: 1.701 MB / 451.5 MB, free: 3.816 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/0.4849, allocations: 71.89 kB / 451.5 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.4852, allocations: 123.9 kB / 451.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003543/0.4888, allocations: 1.941 MB / 453.6 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.493, allocations: 2.287 MB / 455.9 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.372e-05/0.493, allocations: 4 kB / 455.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.4932, allocations: 4 kB / 455.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.543e-05/0.4933, allocations: 83.89 kB / 456 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01523/0.5086, allocations: 7.902 MB / 463.9 MB, free: 7.105 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.5111, allocations: 1.511 MB / 465.4 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.5123, allocations: 0.8553 MB / 466.2 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/0.5127, allocations: 138.3 kB / 466.4 MB, free: 4.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.5127, allocations: 43.88 kB / 466.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=115): time 2.935e-06/0.5127, allocations: 0 / 466.4 MB, free: 4.469 MB / 346.7 MB Notification: Performance of matching and sorting (n=131): time 0.1771/0.6898, allocations: 4.765 MB / 471.2 MB, free: 83.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.6899, allocations: 65.97 kB / 471.3 MB, free: 83.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003377/0.6933, allocations: 1.619 MB / 472.9 MB, free: 83.53 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/0.6936, allocations: 28.89 kB / 472.9 MB, free: 83.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008008/0.6944, allocations: 1.098 MB / 474 MB, free: 83.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005246/0.695, allocations: 437.1 kB / 474.4 MB, free: 83.21 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.6951, allocations: 1.719 kB / 474.4 MB, free: 83.21 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.6952, allocations: 358.2 kB / 474.8 MB, free: 82.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009448/0.6961, allocations: 0.6864 MB / 475.5 MB, free: 82.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.6971, allocations: 0.9248 MB / 476.4 MB, free: 82.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.6983, allocations: 0.8224 MB / 477.2 MB, free: 82.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.6983, allocations: 9.656 kB / 477.2 MB, free: 82.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004634/0.7029, allocations: 2.567 MB / 479.8 MB, free: 82.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.343e-05/0.703, allocations: 35.16 kB / 479.8 MB, free: 82.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.7031, allocations: 9.297 kB / 479.8 MB, free: 82.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/0.7053, allocations: 0.8335 MB / 480.7 MB, free: 82.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.7065, allocations: 267.4 kB / 480.9 MB, free: 82.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009569/0.716, allocations: 8.887 MB / 489.8 MB, free: 79.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/0.7175, allocations: 76.84 kB / 489.9 MB, free: 79.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/0.7178, allocations: 57.14 kB / 489.9 MB, free: 79.75 MB / 346.7 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 (120): * Single equations (assignments): 115 * 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.0003924/0.7182, allocations: 125.8 kB / 490.1 MB, free: 79.65 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/0.7187, allocations: 190.5 kB / 490.2 MB, free: 79.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/0.7226, allocations: 2.335 MB / 492.6 MB, free: 79.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.7227, allocations: 15.56 kB / 492.6 MB, free: 79.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.7227, allocations: 3.906 kB / 492.6 MB, free: 79.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.7227, allocations: 3.797 kB / 492.6 MB, free: 79.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00769/0.7304, allocations: 4.584 MB / 497.2 MB, free: 78.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-05/0.7305, allocations: 3.438 kB / 497.2 MB, free: 78.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000914/0.7314, allocations: 216.6 kB / 497.4 MB, free: 78.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.733, allocations: 0.6955 MB / 498.1 MB, free: 78.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.7332, allocations: 18.45 kB / 498.1 MB, free: 78.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007146/0.7403, allocations: 8.141 MB / 0.4944 GB, free: 72.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.7403, allocations: 3.656 kB / 0.4944 GB, free: 72.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.745, allocations: 3.408 MB / 0.4977 GB, free: 71.35 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009047/0.7459, allocations: 460.7 kB / 0.4982 GB, free: 71.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004736/0.7464, allocations: 7.375 kB / 0.4982 GB, free: 71.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.7476, allocations: 72.58 kB / 0.4982 GB, free: 71.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.7479, allocations: 118.1 kB / 0.4984 GB, free: 71.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-05/0.748, allocations: 37.45 kB / 0.4984 GB, free: 71.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001782/0.7498, allocations: 1.233 MB / 0.4996 GB, free: 70.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7498, allocations: 0 / 0.4996 GB, free: 70.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002085/0.7519, allocations: 0.5004 MB / 0.5001 GB, free: 70.57 MB / 346.7 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 (90): * Single equations (assignments): 84 * 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.000796/0.7527, allocations: 408.8 kB / 0.5005 GB, free: 70.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.7561, allocations: 2.329 MB / 0.5027 GB, free: 69.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7561, allocations: 3.25 kB / 0.5027 GB, free: 69.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002193/0.7583, allocations: 1.606 MB / 0.5043 GB, free: 68.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.7604, allocations: 320 kB / 0.5046 GB, free: 68.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/0.7674, allocations: 4.121 MB / 0.5086 GB, free: 66.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.7692, allocations: 2 MB / 0.5106 GB, free: 65.87 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001364/0.7706, allocations: 374.8 kB / 0.511 GB, free: 65.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00044/0.771, allocations: 112.9 kB / 0.5111 GB, free: 65.83 MB / 346.7 MB Notification: Performance of SimCode: time 7.01e-07/0.7711, allocations: 0 / 0.5111 GB, free: 65.83 MB / 346.7 MB Notification: Performance of Templates: time 0.03716/0.8082, allocations: 24.8 MB / 0.5353 GB, free: 52.79 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)