Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.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_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001519/0.001519, allocations: 197.8 kB / 8.141 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.085/1.085, allocations: 194.2 MB / 202.8 MB, free: 8.645 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.001681/0.001681, allocations: 116.5 kB / 247.7 MB, free: 6.398 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.651e-06/5.741e-06, allocations: 0 / 297.6 MB, free: 7.969 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06789/0.06791, allocations: 44.48 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2102/0.2782, allocations: 99.63 MB / 441.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.2785, allocations: 87.55 kB / 441.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1371/0.4156, allocations: 48.37 MB / 490.1 MB, free: 2.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002202/0.4159, allocations: 59.94 kB / 490.2 MB, free: 2.559 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.005956/0.4218, allocations: 2.46 MB / 492.7 MB, free: 40 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.4219, allocations: 11.97 kB / 492.7 MB, free: 28 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.423, allocations: 324.9 kB / 493 MB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.4265, allocations: 1.744 MB / 494.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.139e-05/0.4266, allocations: 72 kB / 494.8 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.4269, allocations: 136 kB / 494.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004249/0.4311, allocations: 2.457 MB / 497.4 MB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004702/0.4359, allocations: 2.797 MB / 0.4885 GB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-05/0.4359, allocations: 7.938 kB / 0.4885 GB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.4362, allocations: 4 kB / 0.4885 GB, free: 8.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.4363, allocations: 100.4 kB / 0.4886 GB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.4512, allocations: 9.553 MB / 0.4979 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/0.4527, allocations: 0.9924 MB / 0.4989 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.4544, allocations: 1.165 MB / 0.5 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.4547, allocations: 134.4 kB / 0.5001 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.4548, allocations: 47.81 kB / 0.5002 GB, free: 12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=129): time 3.597e-06/0.4548, allocations: 4 kB / 0.5002 GB, free: 11.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.01006/0.4648, allocations: 5.432 MB / 0.5055 GB, free: 6.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.4649, allocations: 72.72 kB / 0.5056 GB, free: 6.418 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.4667, allocations: 1.236 MB / 0.5068 GB, free: 5.172 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.4668, allocations: 25.7 kB / 0.5068 GB, free: 5.141 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.4673, allocations: 0.8348 MB / 0.5076 GB, free: 4.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.4677, allocations: 476.9 kB / 0.5081 GB, free: 3.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.4678, allocations: 0 / 0.5081 GB, free: 3.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4679, allocations: 365.9 kB / 0.5084 GB, free: 3.457 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.4692, allocations: 0.859 MB / 0.5092 GB, free: 2.598 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.4707, allocations: 1.168 MB / 0.5104 GB, free: 1.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.4722, allocations: 1.013 MB / 0.5114 GB, free: 296 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.4722, allocations: 7.906 kB / 0.5114 GB, free: 288 kB / 394.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.1295/0.6017, allocations: 2.824 MB / 0.5141 GB, free: 73.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.6017, allocations: 8.344 kB / 0.5142 GB, free: 73.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.6018, allocations: 7.469 kB / 0.5142 GB, free: 73.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.6036, allocations: 0.8316 MB / 0.515 GB, free: 73.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.6049, allocations: 305.5 kB / 0.5153 GB, free: 73.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007796/0.6128, allocations: 8.445 MB / 0.5235 GB, free: 70.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.6142, allocations: 61.78 kB / 0.5236 GB, free: 70.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.6143, allocations: 59.61 kB / 0.5236 GB, free: 70.16 MB / 394.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.0002722/0.6146, allocations: 141.4 kB / 0.5238 GB, free: 70.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.6148, allocations: 170.9 kB / 0.5239 GB, free: 70.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004031/0.6189, allocations: 2.703 MB / 0.5266 GB, free: 69.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.6189, allocations: 13.47 kB / 0.5266 GB, free: 69.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.6189, allocations: 10.03 kB / 0.5266 GB, free: 69.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.6189, allocations: 6.984 kB / 0.5266 GB, free: 69.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007738/0.6267, allocations: 5.254 MB / 0.5317 GB, free: 69.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6267, allocations: 3.969 kB / 0.5317 GB, free: 69.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009759/0.6277, allocations: 197.2 kB / 0.5319 GB, free: 69.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.6299, allocations: 0.8826 MB / 0.5328 GB, free: 69.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.63, allocations: 19.23 kB / 0.5328 GB, free: 69.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008723/0.6387, allocations: 9.878 MB / 0.5424 GB, free: 64.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6387, allocations: 7.625 kB / 0.5424 GB, free: 64.4 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005111/0.6439, allocations: 4.197 MB / 0.5465 GB, free: 63.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008073/0.6447, allocations: 446.4 kB / 0.547 GB, free: 63.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.645, allocations: 9.969 kB / 0.547 GB, free: 63.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009554/0.6459, allocations: 54.66 kB / 0.547 GB, free: 63.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.6462, allocations: 111.2 kB / 0.5471 GB, free: 63.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.6463, allocations: 43.94 kB / 0.5472 GB, free: 63.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00111/0.6474, allocations: 0.928 MB / 0.5481 GB, free: 63.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001641/0.6491, allocations: 0.4933 MB / 0.5486 GB, free: 63.52 MB / 394.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.000418/0.6495, allocations: 293.2 kB / 0.5489 GB, free: 63.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003417/0.6529, allocations: 2.74 MB / 0.5515 GB, free: 62.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6529, allocations: 0 / 0.5515 GB, free: 62.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002308/0.6553, allocations: 1.838 MB / 0.5533 GB, free: 62.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.6569, allocations: 366.7 kB / 0.5537 GB, free: 62.05 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007055/0.664, allocations: 4.245 MB / 0.5578 GB, free: 60.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/0.666, allocations: 2.14 MB / 0.5599 GB, free: 59.5 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.666, allocations: 0 / 0.5599 GB, free: 59.5 MB / 394.7 MB Notification: Performance of Templates: time 0.04551/0.7115, allocations: 27.8 MB / 0.5871 GB, free: 57.62 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1)