Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001282/0.001282, allocations: 171.5 kB / 7.638 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.15/1.15, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001648/0.001648, allocations: 107.5 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.353e-05/1.355e-05, allocations: 4 kB / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05992/0.05995, allocations: 38.78 MB / 301 MB, free: 3.617 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2804/0.3404, allocations: 94.51 MB / 395.5 MB, free: 6.125 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.3407, allocations: 86.56 kB / 395.6 MB, free: 6.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1286/0.4693, allocations: 48.48 MB / 444.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4694, allocations: 0 / 444.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002466/0.4697, allocations: 67.88 kB / 444.1 MB, free: 11.21 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: 587 * Number of variables: 587 Notification: Performance of Generate backend data structure: time 0.00709/0.4768, allocations: 2.453 MB / 446.6 MB, free: 8.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.4768, allocations: 12.03 kB / 446.6 MB, free: 8.684 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.4784, allocations: 324.4 kB / 446.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004485/0.4829, allocations: 1.682 MB / 448.6 MB, free: 6.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.4831, allocations: 79.95 kB / 448.7 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000859/0.484, allocations: 143.8 kB / 448.8 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005595/0.4896, allocations: 2.356 MB / 451.2 MB, free: 4.043 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00687/0.4965, allocations: 2.73 MB / 453.9 MB, free: 1.164 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001032/0.4967, allocations: 11.89 kB / 453.9 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004847/0.4972, allocations: 4 kB / 453.9 MB, free: 1.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/0.4973, allocations: 96.34 kB / 454 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.5171, allocations: 9.437 MB / 463.4 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/0.5199, allocations: 2.027 MB / 465.5 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.5216, allocations: 1.036 MB / 466.5 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003422/0.522, allocations: 142.3 kB / 466.7 MB, free: 4.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/0.5221, allocations: 47.88 kB / 466.7 MB, free: 3.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=129): time 4.538e-06/0.5221, allocations: 0 / 466.7 MB, free: 3.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.2215/0.7435, allocations: 5.331 MB / 472 MB, free: 84.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.7436, allocations: 66.41 kB / 472.1 MB, free: 84.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/0.7461, allocations: 1.197 MB / 473.3 MB, free: 83.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000259/0.7463, allocations: 25.7 kB / 473.3 MB, free: 83.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008007/0.7471, allocations: 1.068 MB / 474.4 MB, free: 83.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004335/0.7476, allocations: 471.3 kB / 474.8 MB, free: 83.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.7477, allocations: 0 / 474.8 MB, free: 83.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7478, allocations: 371 kB / 475.2 MB, free: 83.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.7491, allocations: 0.8317 MB / 476 MB, free: 83.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.7505, allocations: 1.136 MB / 477.2 MB, free: 82.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.752, allocations: 0.976 MB / 478.2 MB, free: 82.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.335e-05/0.7521, allocations: 2.094 kB / 478.2 MB, free: 82.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.005587/0.7577, allocations: 2.76 MB / 480.9 MB, free: 82.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/0.7577, allocations: 13.58 kB / 480.9 MB, free: 82.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.7578, allocations: 8.75 kB / 480.9 MB, free: 82.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.7596, allocations: 0.8042 MB / 481.7 MB, free: 82.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/0.761, allocations: 313.9 kB / 482 MB, free: 82.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008275/0.7693, allocations: 8.713 MB / 490.8 MB, free: 78.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.7711, allocations: 81.14 kB / 490.8 MB, free: 78.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.7713, allocations: 54.97 kB / 490.9 MB, free: 78.83 MB / 346.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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003618/0.7717, allocations: 146.2 kB / 491 MB, free: 78.72 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/0.7721, allocations: 168 kB / 491.2 MB, free: 78.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/0.7764, allocations: 2.631 MB / 493.8 MB, free: 78.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.7765, allocations: 15.56 kB / 493.8 MB, free: 78.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.7765, allocations: 7.25 kB / 493.9 MB, free: 78.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.7766, allocations: 11.42 kB / 493.9 MB, free: 78.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008558/0.7851, allocations: 5.133 MB / 499 MB, free: 77.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.7852, allocations: 3.938 kB / 499 MB, free: 77.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008718/0.7861, allocations: 211 kB / 499.2 MB, free: 77.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001971/0.788, allocations: 0.8631 MB / 0.4883 GB, free: 77.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.7882, allocations: 27.33 kB / 0.4884 GB, free: 77.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009299/0.7975, allocations: 10.19 MB / 0.4983 GB, free: 70.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.7975, allocations: 4.625 kB / 0.4983 GB, free: 70.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/0.803, allocations: 4.061 MB / 0.5023 GB, free: 68.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.804, allocations: 457.6 kB / 0.5027 GB, free: 68.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.8043, allocations: 6.938 kB / 0.5027 GB, free: 68.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008918/0.8052, allocations: 69.06 kB / 0.5028 GB, free: 68.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003648/0.8056, allocations: 135.9 kB / 0.5029 GB, free: 68.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-05/0.8057, allocations: 41.06 kB / 0.503 GB, free: 68.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001276/0.807, allocations: 0.9015 MB / 0.5039 GB, free: 67.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.807, allocations: 0 / 0.5039 GB, free: 67.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00197/0.8089, allocations: 0.5024 MB / 0.5043 GB, free: 67.65 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005166/0.8095, allocations: 296.8 kB / 0.5046 GB, free: 67.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003527/0.813, allocations: 2.786 MB / 0.5073 GB, free: 66.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.813, allocations: 2.375 kB / 0.5073 GB, free: 66.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002465/0.8155, allocations: 1.924 MB / 0.5092 GB, free: 65.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.8177, allocations: 374.3 kB / 0.5096 GB, free: 65.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/0.8243, allocations: 4.133 MB / 0.5136 GB, free: 63.42 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/0.8259, allocations: 2.063 MB / 0.5156 GB, free: 62.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001502/0.8274, allocations: 382 kB / 0.516 GB, free: 62.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.8278, allocations: 98.81 kB / 0.5161 GB, free: 62.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.372e-06/0.8278, allocations: 0 / 0.5161 GB, free: 62.41 MB / 346.7 MB Notification: Performance of Templates: time 0.0422/0.87, allocations: 26.32 MB / 0.5418 GB, free: 46.22 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)