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.0009832/0.0009834, allocations: 170 kB / 12.72 MB, free: 2.594 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.191/1.191, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001737/0.001737, allocations: 114.8 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.123e-05/3.127e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07523/0.07528, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3002/0.3755, allocations: 92.72 MB / 400.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.3758, allocations: 86 kB / 400.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1061/0.482, allocations: 40.32 MB / 440.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.482, allocations: 4 kB / 440.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000128/0.4822, allocations: 55.88 kB / 440.8 MB, free: 12.88 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.00363/0.4858, allocations: 1.921 MB / 442.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4859, allocations: 8.031 kB / 442.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006695/0.4865, allocations: 257.2 kB / 443 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/0.4888, allocations: 1.289 MB / 444.3 MB, free: 9.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.7e-05/0.4889, allocations: 135.6 kB / 444.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002889/0.4892, allocations: 179.9 kB / 444.6 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003732/0.4929, allocations: 2.278 MB / 446.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.659e-05/0.493, allocations: 3.906 kB / 446.9 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.4932, allocations: 79.98 kB / 447 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.941e-05/0.4933, allocations: 83.5 kB / 447 MB, free: 6.477 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002888/0.4962, allocations: 1.786 MB / 448.8 MB, free: 4.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/0.5068, allocations: 7.132 MB / 456 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.5085, allocations: 1.267 MB / 457.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.5095, allocations: 0.6988 MB / 457.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.5098, allocations: 129.8 kB / 458.1 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.5099, allocations: 47.33 kB / 458.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 2.645e-06/0.5099, allocations: 0 / 458.1 MB, free: 11.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.01365/0.5235, allocations: 5.955 MB / 464.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.5236, allocations: 68.41 kB / 464.1 MB, free: 5.023 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.5253, allocations: 0.9987 MB / 465.1 MB, free: 4.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.716e-05/0.5254, allocations: 45.7 kB / 465.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000649/0.526, allocations: 0.8496 MB / 466 MB, free: 3.098 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.5264, allocations: 402.2 kB / 466.4 MB, free: 2.699 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.862e-05/0.5265, allocations: 28 kB / 466.4 MB, free: 2.672 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5266, allocations: 353.9 kB / 466.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009097/0.5275, allocations: 0.6273 MB / 467.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.5286, allocations: 0.9462 MB / 468.4 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1953/0.7239, allocations: 0.7807 MB / 469.1 MB, free: 87.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-05/0.724, allocations: 3.812 kB / 469.1 MB, free: 87.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004499/0.7285, allocations: 2.328 MB / 471.5 MB, free: 87.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.7286, allocations: 9.094 kB / 471.5 MB, free: 87.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/0.7286, allocations: 9.297 kB / 471.5 MB, free: 87.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/0.7303, allocations: 0.6316 MB / 472.1 MB, free: 87.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.7313, allocations: 277.5 kB / 472.4 MB, free: 87.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007301/0.7386, allocations: 6.306 MB / 478.7 MB, free: 85.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.7399, allocations: 94.17 kB / 478.8 MB, free: 85.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.7401, allocations: 55.62 kB / 478.8 MB, free: 85.15 MB / 346.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: 0 () * Number of discrete 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.0002673/0.7404, allocations: 170.5 kB / 479 MB, free: 85.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.7407, allocations: 137.2 kB / 479.1 MB, free: 85.04 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/0.7445, allocations: 2.191 MB / 481.3 MB, free: 84.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.7445, allocations: 11.06 kB / 481.3 MB, free: 84.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.7445, allocations: 6.375 kB / 481.3 MB, free: 84.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.7445, allocations: 7.828 kB / 481.4 MB, free: 84.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006367/0.7509, allocations: 4.332 MB / 485.7 MB, free: 84.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.751, allocations: 3.875 kB / 485.7 MB, free: 84.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/0.7516, allocations: 179.1 kB / 485.9 MB, free: 84.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0016/0.7532, allocations: 0.7244 MB / 486.6 MB, free: 84.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/0.7533, allocations: 32.97 kB / 486.6 MB, free: 84.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006947/0.7603, allocations: 8.041 MB / 494.7 MB, free: 79.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7603, allocations: 3.75 kB / 494.7 MB, free: 79.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00423/0.7646, allocations: 3.254 MB / 497.9 MB, free: 78.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008855/0.7655, allocations: 357.5 kB / 498.3 MB, free: 78.24 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.7656, allocations: 29.28 kB / 498.3 MB, free: 78.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007388/0.7664, allocations: 88.89 kB / 498.4 MB, free: 78.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.7667, allocations: 93.56 kB / 498.5 MB, free: 78.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/0.7668, allocations: 39.91 kB / 498.5 MB, free: 78.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001191/0.768, allocations: 0.7744 MB / 499.3 MB, free: 77.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.768, allocations: 0 / 499.3 MB, free: 77.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001729/0.7697, allocations: 474.4 kB / 499.8 MB, free: 77.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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.0006028/0.7704, allocations: 304.6 kB / 0.4883 GB, free: 77.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003148/0.7735, allocations: 2.208 MB / 0.4905 GB, free: 76.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7735, allocations: 0 / 0.4905 GB, free: 76.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.7756, allocations: 1.539 MB / 0.492 GB, free: 75.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.7771, allocations: 346.4 kB / 0.4923 GB, free: 75.78 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.7819, allocations: 3.243 MB / 0.4955 GB, free: 74.35 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.7829, allocations: 1.668 MB / 0.4971 GB, free: 73.48 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009131/0.7838, allocations: 301.1 kB / 0.4974 GB, free: 73.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.7841, allocations: 94.39 kB / 0.4975 GB, free: 73.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7841, allocations: 2.625 kB / 0.4975 GB, free: 73.43 MB / 346.7 MB Notification: Performance of Templates: time 0.03636/0.8204, allocations: 24.81 MB / 0.5217 GB, free: 62.46 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)