Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses") [: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.00129/0.00129, allocations: 190.9 kB / 8.136 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.082/1.082, allocations: 194.2 MB / 202.8 MB, free: 8.672 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.001848/0.001848, allocations: 119.3 kB / 247.7 MB, free: 6.402 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.163e-06, allocations: 3.938 kB / 297.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06953/0.06955, allocations: 44.48 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2093/0.2789, allocations: 103.4 MB / 445.4 MB, free: 8.023 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.2792, allocations: 93.44 kB / 445.5 MB, free: 7.977 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1499/0.4291, allocations: 50.59 MB / 496.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001804/0.4293, allocations: 67.88 kB / 496.2 MB, free: 12.62 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.00524/0.4346, allocations: 2.445 MB / 498.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4346, allocations: 11.97 kB / 498.6 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.4357, allocations: 328.3 kB / 499 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/0.4397, allocations: 1.783 MB / 0.489 GB, free: 7.934 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.4398, allocations: 64 kB / 0.4891 GB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.4402, allocations: 127.9 kB / 0.4892 GB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003717/0.4439, allocations: 1.984 MB / 0.4911 GB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004267/0.4482, allocations: 2.342 MB / 0.4934 GB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.425e-05/0.4482, allocations: 7.906 kB / 0.4934 GB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/0.4484, allocations: 4 kB / 0.4934 GB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.354e-05/0.4485, allocations: 91.86 kB / 0.4935 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/0.463, allocations: 7.984 MB / 0.5013 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.4647, allocations: 0.9049 MB / 0.5022 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.466, allocations: 0.8979 MB / 0.5031 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/0.4664, allocations: 142 kB / 0.5032 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.4664, allocations: 47.5 kB / 0.5033 GB, free: 9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=119): time 3.777e-06/0.4664, allocations: 0 / 0.5033 GB, free: 9 MB / 394.7 MB Notification: Performance of matching and sorting (n=135): time 0.01003/0.4765, allocations: 4.854 MB / 0.508 GB, free: 4.066 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.4765, allocations: 64.72 kB / 0.5081 GB, free: 3.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002777/0.4793, allocations: 1.669 MB / 0.5097 GB, free: 2.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.4794, allocations: 25.7 kB / 0.5097 GB, free: 2.289 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/0.4799, allocations: 0.7902 MB / 0.5105 GB, free: 1.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000389/0.4803, allocations: 453.2 kB / 0.5109 GB, free: 1.035 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-05/0.4804, allocations: 0 / 0.5109 GB, free: 1.035 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.4806, allocations: 361.9 kB / 0.5113 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09598/0.5766, allocations: 0.7058 MB / 0.512 GB, free: 132.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.5778, allocations: 0.9446 MB / 0.5129 GB, free: 132.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.579, allocations: 0.8569 MB / 0.5137 GB, free: 132.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.5791, allocations: 0 / 0.5137 GB, free: 132.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004172/0.5832, allocations: 2.614 MB / 0.5163 GB, free: 132 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.5833, allocations: 5.469 kB / 0.5163 GB, free: 132 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.5833, allocations: 11.12 kB / 0.5163 GB, free: 132 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00212/0.5854, allocations: 0.834 MB / 0.5171 GB, free: 132 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.5867, allocations: 270.6 kB / 0.5174 GB, free: 132 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009476/0.5962, allocations: 8.447 MB / 0.5256 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.5974, allocations: 56.31 kB / 0.5257 GB, free: 129.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.5976, allocations: 52.56 kB / 0.5257 GB, free: 129.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002417/0.5978, allocations: 132.7 kB / 0.5258 GB, free: 129.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000322/0.5982, allocations: 187.7 kB / 0.526 GB, free: 129.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00386/0.602, allocations: 2.401 MB / 0.5284 GB, free: 129.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.602, allocations: 14.31 kB / 0.5284 GB, free: 129.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6021, allocations: 10.12 kB / 0.5284 GB, free: 129.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.6021, allocations: 9.75 kB / 0.5284 GB, free: 129.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007037/0.6091, allocations: 4.644 MB / 0.5329 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.6092, allocations: 3.609 kB / 0.5329 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.6103, allocations: 217.2 kB / 0.5331 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.6121, allocations: 0.6966 MB / 0.5338 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.6122, allocations: 13.06 kB / 0.5338 GB, free: 128.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007388/0.6196, allocations: 7.856 MB / 0.5415 GB, free: 124.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6196, allocations: 0 / 0.5415 GB, free: 124.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004697/0.6243, allocations: 3.518 MB / 0.5449 GB, free: 123.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008149/0.6252, allocations: 456.4 kB / 0.5454 GB, free: 123.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/0.6255, allocations: 14.25 kB / 0.5454 GB, free: 123.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.6265, allocations: 59.11 kB / 0.5454 GB, free: 123.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.6267, allocations: 74.56 kB / 0.5455 GB, free: 123.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.6268, allocations: 46.72 kB / 0.5456 GB, free: 123.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001428/0.6282, allocations: 1.275 MB / 0.5468 GB, free: 123.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001593/0.6298, allocations: 0.5075 MB / 0.5473 GB, free: 123.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007408/0.6306, allocations: 423.3 kB / 0.5477 GB, free: 123 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003016/0.6336, allocations: 2.242 MB / 0.5499 GB, free: 122.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6336, allocations: 3.5 kB / 0.5499 GB, free: 122.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002024/0.6357, allocations: 1.535 MB / 0.5514 GB, free: 121.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.6371, allocations: 317.5 kB / 0.5517 GB, free: 121.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.6437, allocations: 4.238 MB / 0.5558 GB, free: 119.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/0.6456, allocations: 2.089 MB / 0.5579 GB, free: 118.7 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.6457, allocations: 0 / 0.5579 GB, free: 118.7 MB / 394.7 MB Notification: Performance of Templates: time 0.04218/0.6878, allocations: 26 MB / 0.5833 GB, free: 115 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses.pipe 2>&1)