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") [: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.1+maint.om/package.mo): time 0.004972/0.004972, allocations: 178.6 kB / 7.451 MB, free: 2.512 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.439/1.439, allocations: 170.6 MB / 178.4 MB, free: 15.47 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.001718/0.001718, allocations: 111.9 kB / 217.7 MB, free: 8.234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.04e-05/1.052e-05, allocations: 0 / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 38.76 MB / 300.5 MB, free: 3.918 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2899/0.401, allocations: 94.44 MB / 394.9 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.4014, allocations: 87.58 kB / 395 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.137/0.5384, allocations: 48.34 MB / 443.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003154/0.5388, allocations: 63.88 kB / 443.4 MB, free: 11.76 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.007941/0.5467, allocations: 2.444 MB / 445.9 MB, free: 9.254 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.5468, allocations: 12.03 kB / 445.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/0.5487, allocations: 328.4 kB / 446.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004928/0.5537, allocations: 1.693 MB / 447.9 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.5539, allocations: 76 kB / 448 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008404/0.5547, allocations: 139.8 kB / 448.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005801/0.5605, allocations: 2.426 MB / 450.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007457/0.568, allocations: 2.773 MB / 453.3 MB, free: 1.598 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/0.5681, allocations: 11.84 kB / 453.3 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004829/0.5686, allocations: 0 / 453.3 MB, free: 1.586 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.5688, allocations: 100.4 kB / 453.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/0.5892, allocations: 9.506 MB / 462.9 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.5909, allocations: 0.985 MB / 463.9 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.5928, allocations: 1.164 MB / 465.1 MB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003408/0.5931, allocations: 138.4 kB / 465.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.5932, allocations: 44.53 kB / 465.3 MB, free: 5.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=129): time 4.338e-06/0.5932, allocations: 3.984 kB / 465.3 MB, free: 5.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.1562/0.7494, allocations: 5.434 MB / 470.7 MB, free: 120.1 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.7495, allocations: 67.5 kB / 470.8 MB, free: 120 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002898/0.7525, allocations: 1.208 MB / 472 MB, free: 119.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004341/0.7529, allocations: 25.7 kB / 472 MB, free: 119.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/0.7535, allocations: 0.8336 MB / 472.8 MB, free: 119.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005738/0.754, allocations: 474.9 kB / 473.3 MB, free: 119.6 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-05/0.7541, allocations: 0 / 473.3 MB, free: 119.6 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000191/0.7543, allocations: 366.4 kB / 473.6 MB, free: 119.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.7557, allocations: 0.8589 MB / 474.5 MB, free: 119.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.757, allocations: 1.169 MB / 475.7 MB, free: 118.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.7584, allocations: 1.013 MB / 476.7 MB, free: 118.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.7584, allocations: 5.812 kB / 476.7 MB, free: 118.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004446/0.7629, allocations: 2.828 MB / 479.5 MB, free: 118.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.7629, allocations: 9.406 kB / 479.5 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.7629, allocations: 10.17 kB / 479.5 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/0.765, allocations: 0.8207 MB / 480.4 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.7662, allocations: 315.1 kB / 480.7 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00822/0.7744, allocations: 8.442 MB / 489.1 MB, free: 114.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/0.7761, allocations: 59.2 kB / 489.2 MB, free: 114.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.7763, allocations: 59.94 kB / 489.2 MB, free: 114.9 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.000355/0.7767, allocations: 141.7 kB / 489.4 MB, free: 114.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/0.777, allocations: 171.4 kB / 489.5 MB, free: 114.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004288/0.7813, allocations: 2.711 MB / 492.2 MB, free: 114.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.7814, allocations: 15.75 kB / 492.3 MB, free: 114.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.7814, allocations: 7.812 kB / 492.3 MB, free: 114.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.7814, allocations: 7.172 kB / 492.3 MB, free: 114.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008341/0.7897, allocations: 5.233 MB / 497.5 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.7898, allocations: 3.719 kB / 497.5 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/0.7907, allocations: 202.1 kB / 497.7 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/0.793, allocations: 0.876 MB / 498.6 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.7931, allocations: 16.75 kB / 498.6 MB, free: 114 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009084/0.8022, allocations: 9.887 MB / 0.4966 GB, free: 108 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.8022, allocations: 3.688 kB / 0.4966 GB, free: 108 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005833/0.8081, allocations: 4.193 MB / 0.5007 GB, free: 106.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.8093, allocations: 453.4 kB / 0.5011 GB, free: 105.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/0.8096, allocations: 11.22 kB / 0.5011 GB, free: 105.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009108/0.8105, allocations: 60.83 kB / 0.5012 GB, free: 105.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002368/0.8108, allocations: 99.69 kB / 0.5013 GB, free: 105.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.8109, allocations: 40.61 kB / 0.5013 GB, free: 105.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001356/0.8123, allocations: 0.9184 MB / 0.5022 GB, free: 105.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001873/0.8142, allocations: 0.4931 MB / 0.5027 GB, free: 105.5 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.0005041/0.8147, allocations: 279.9 kB / 0.5029 GB, free: 105.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003511/0.8182, allocations: 2.748 MB / 0.5056 GB, free: 104.1 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.8182, allocations: 3.891 kB / 0.5056 GB, free: 104.1 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002424/0.8206, allocations: 1.835 MB / 0.5074 GB, free: 103.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.8227, allocations: 369.7 kB / 0.5078 GB, free: 103.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008815/0.8316, allocations: 4.231 MB / 0.5119 GB, free: 101.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001988/0.8336, allocations: 2.128 MB / 0.514 GB, free: 99.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.8336, allocations: 0 / 0.514 GB, free: 99.96 MB / 346.7 MB Notification: Performance of Templates: time 0.04293/0.8765, allocations: 27.55 MB / 0.5409 GB, free: 80.4 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)