Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006918/0.006918, allocations: 166.3 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.496/1.496, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001467/0.001467, allocations: 122.5 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 8 kB / 274.1 MB, free: 10.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2247, allocations: 38.77 MB / 312.9 MB, free: 38.81 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.3418, allocations: 92.81 MB / 405.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.3421, allocations: 91.95 kB / 405.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2685/0.6107, allocations: 40.25 MB / 446 MB, free: 77.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6107, allocations: 0 / 446 MB, free: 77.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.6109, allocations: 48.31 kB / 446.1 MB, free: 77.41 MB / 314.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.003953/0.6148, allocations: 2.115 MB / 448.2 MB, free: 75.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.6149, allocations: 12.03 kB / 448.2 MB, free: 75.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006296/0.6155, allocations: 253.3 kB / 448.5 MB, free: 75.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002069/0.6176, allocations: 1.295 MB / 449.8 MB, free: 73.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.832e-05/0.6177, allocations: 131.6 kB / 449.9 MB, free: 73.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.6179, allocations: 180.2 kB / 450.1 MB, free: 73.55 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003348/0.6213, allocations: 2.344 MB / 452.4 MB, free: 71.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/0.6213, allocations: 11.91 kB / 452.4 MB, free: 71.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.6215, allocations: 72 kB / 452.5 MB, free: 71.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.17e-05/0.6216, allocations: 79.48 kB / 452.6 MB, free: 70.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00278/0.6244, allocations: 1.876 MB / 454.4 MB, free: 69.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/0.6345, allocations: 7.147 MB / 461.6 MB, free: 61.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.6361, allocations: 1.322 MB / 462.9 MB, free: 60.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.6364, allocations: 136 kB / 463 MB, free: 60.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.6364, allocations: 39.56 kB / 463.1 MB, free: 60.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 2.675e-06/0.6364, allocations: 1.312 kB / 463.1 MB, free: 60.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=113): time 0.01472/0.6511, allocations: 7.199 MB / 470.3 MB, free: 52.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.6513, allocations: 64.41 kB / 470.3 MB, free: 52.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.6534, allocations: 1.009 MB / 471.4 MB, free: 51.8 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001647/0.6536, allocations: 49.7 kB / 471.4 MB, free: 51.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006587/0.6542, allocations: 0.8551 MB / 472.3 MB, free: 50.88 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.6546, allocations: 390.4 kB / 472.6 MB, free: 50.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-05/0.6547, allocations: 24 kB / 472.7 MB, free: 50.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.6548, allocations: 365.9 kB / 473 MB, free: 50.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.6559, allocations: 0.6779 MB / 473.7 MB, free: 49.44 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.6572, allocations: 0.9853 MB / 474.7 MB, free: 48.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.6585, allocations: 0.8306 MB / 475.5 MB, free: 47.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.265e-06/0.6585, allocations: 4 kB / 475.5 MB, free: 47.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003982/0.6625, allocations: 2.424 MB / 477.9 MB, free: 45.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.6625, allocations: 8 kB / 478 MB, free: 45.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.6625, allocations: 8.25 kB / 478 MB, free: 45.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.6639, allocations: 0.6489 MB / 478.6 MB, free: 44.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009737/0.6649, allocations: 275.6 kB / 478.9 MB, free: 44.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005961/0.6709, allocations: 6.529 MB / 485.4 MB, free: 37.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.6722, allocations: 91.88 kB / 485.5 MB, free: 37.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.6723, allocations: 55.98 kB / 485.6 MB, free: 37.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001171/0.6735, allocations: 0.6066 MB / 486.2 MB, free: 36.54 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.6738, allocations: 134.4 kB / 486.3 MB, free: 36.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003482/0.6773, allocations: 2.275 MB / 488.6 MB, free: 34.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.6773, allocations: 12 kB / 488.6 MB, free: 34.1 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.6773, allocations: 8 kB / 488.6 MB, free: 34.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.6773, allocations: 3.984 kB / 488.6 MB, free: 34.09 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006703/0.684, allocations: 4.413 MB / 493 MB, free: 29.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.6841, allocations: 4 kB / 493 MB, free: 29.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/0.6848, allocations: 176 kB / 493.2 MB, free: 29.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001696/0.6865, allocations: 0.73 MB / 493.9 MB, free: 28.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-05/0.6866, allocations: 35.98 kB / 493.9 MB, free: 28.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007457/0.6941, allocations: 8.294 MB / 0.4905 GB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6942, allocations: 7.953 kB / 0.4905 GB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005086/0.6992, allocations: 3.363 MB / 0.4938 GB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009992/0.7003, allocations: 359.3 kB / 0.4941 GB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/0.7008, allocations: 28.3 kB / 0.4941 GB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.7019, allocations: 87.91 kB / 0.4942 GB, free: 16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/0.7023, allocations: 104.8 kB / 0.4943 GB, free: 15.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.7025, allocations: 31.98 kB / 0.4943 GB, free: 15.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001789/0.7042, allocations: 0.7833 MB / 0.4951 GB, free: 15.08 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7043, allocations: 0 / 0.4951 GB, free: 15.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002495/0.7068, allocations: 479.9 kB / 0.4956 GB, free: 14.61 MB / 314.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.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006947/0.7075, allocations: 292.7 kB / 0.4958 GB, free: 14.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003952/0.7115, allocations: 2.326 MB / 0.4981 GB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.7115, allocations: 0 / 0.4981 GB, free: 11.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002525/0.714, allocations: 1.597 MB / 0.4997 GB, free: 10.3 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002569/0.7166, allocations: 346.8 kB / 0.5 GB, free: 9.957 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008145/0.7248, allocations: 4.71 MB / 0.5046 GB, free: 5.191 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.7266, allocations: 1.673 MB / 0.5062 GB, free: 3.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001289/0.7279, allocations: 295.9 kB / 0.5065 GB, free: 3.188 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.7283, allocations: 87.44 kB / 0.5066 GB, free: 3.102 MB / 314.7 MB Notification: Performance of SimCode: time 1.513e-06/0.7283, allocations: 0 / 0.5066 GB, free: 3.102 MB / 314.7 MB Notification: Performance of Templates: time 0.04759/0.7759, allocations: 24.47 MB / 0.5305 GB, free: 10.64 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)