Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [: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.004612/0.004618, allocations: 171.8 kB / 7.446 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.322/1.322, allocations: 170.6 MB / 178.4 MB, free: 15.71 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.001825/0.001825, allocations: 111.9 kB / 217.7 MB, free: 8.488 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.775e-06/7.795e-06, allocations: 0 / 261.7 MB, free: 26.67 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07852/0.07854, allocations: 38.75 MB / 300.5 MB, free: 3.922 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.29/0.3686, allocations: 101.4 MB / 401.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.3689, allocations: 85.2 kB / 402 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.4682/0.8372, allocations: 93.25 MB / 495.2 MB, free: 69.33 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005539/0.8378, allocations: 97.58 kB / 495.3 MB, free: 69.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.01239/0.8502, allocations: 3.535 MB / 498.8 MB, free: 67.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.8503, allocations: 7.406 kB / 498.8 MB, free: 67.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003338/0.8536, allocations: 0.5094 MB / 499.4 MB, free: 67.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007903/0.8615, allocations: 2.532 MB / 0.4901 GB, free: 67.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.8618, allocations: 114.2 kB / 0.4902 GB, free: 67.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/0.8633, allocations: 213.2 kB / 0.4904 GB, free: 67.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009113/0.8725, allocations: 3.764 MB / 0.4941 GB, free: 67.14 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01126/0.8838, allocations: 4.379 MB / 0.4984 GB, free: 66.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001811/0.884, allocations: 16.41 kB / 0.4984 GB, free: 66.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001023/0.885, allocations: 11.28 kB / 0.4984 GB, free: 66.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000176/0.8852, allocations: 175.9 kB / 0.4986 GB, free: 66.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02609/0.9113, allocations: 14.31 MB / 0.5126 GB, free: 60.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.9137, allocations: 1.636 MB / 0.5142 GB, free: 60.15 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002529/0.9162, allocations: 1.987 MB / 0.5161 GB, free: 59.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.9166, allocations: 143.7 kB / 0.5162 GB, free: 59.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.9166, allocations: 60.11 kB / 0.5163 GB, free: 59.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.118e-06/0.9167, allocations: 0 / 0.5163 GB, free: 59.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.01505/0.9317, allocations: 7.378 MB / 0.5235 GB, free: 56.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.9318, allocations: 78.38 kB / 0.5236 GB, free: 56.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/0.9351, allocations: 1.745 MB / 0.5253 GB, free: 55.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/0.9354, allocations: 27.11 kB / 0.5253 GB, free: 55.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006982/0.9361, allocations: 1.246 MB / 0.5265 GB, free: 54.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006182/0.9367, allocations: 0.7061 MB / 0.5272 GB, free: 54.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.9368, allocations: 0 / 0.5272 GB, free: 54.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.937, allocations: 405.4 kB / 0.5276 GB, free: 53.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.9388, allocations: 1.243 MB / 0.5288 GB, free: 53.33 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.9409, allocations: 1.673 MB / 0.5304 GB, free: 52.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.9427, allocations: 1.501 MB / 0.5319 GB, free: 51.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.9427, allocations: 4 kB / 0.5319 GB, free: 51.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005639/0.9483, allocations: 3.785 MB / 0.5356 GB, free: 47.74 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.9484, allocations: 12.16 kB / 0.5356 GB, free: 47.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.9484, allocations: 22.28 kB / 0.5356 GB, free: 47.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.9502, allocations: 0.7579 MB / 0.5364 GB, free: 47.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.9525, allocations: 0.5287 MB / 0.5369 GB, free: 46.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007948/0.9605, allocations: 8.058 MB / 0.5448 GB, free: 38.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.9631, allocations: 59.2 kB / 0.5448 GB, free: 38.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/0.9634, allocations: 91.84 kB / 0.5449 GB, free: 38.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005298/0.9639, allocations: 156.8 kB / 0.5451 GB, free: 38.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006824/0.9646, allocations: 241.1 kB / 0.5453 GB, free: 38.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005281/0.9699, allocations: 3.547 MB / 0.5488 GB, free: 35.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.9699, allocations: 20 kB / 0.5488 GB, free: 35.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.9699, allocations: 8 kB / 0.5488 GB, free: 35.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.9699, allocations: 11.11 kB / 0.5488 GB, free: 35.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/0.9815, allocations: 7.371 MB / 0.556 GB, free: 29.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.9816, allocations: 4 kB / 0.556 GB, free: 29.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001681/0.9832, allocations: 396.4 kB / 0.5564 GB, free: 29.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002017/0.9853, allocations: 0.8088 MB / 0.5572 GB, free: 28.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.9854, allocations: 23.8 kB / 0.5572 GB, free: 28.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008248/0.9937, allocations: 9.511 MB / 0.5665 GB, free: 19.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.9938, allocations: 4 kB / 0.5665 GB, free: 19.2 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007784/1.002, allocations: 5.627 MB / 0.572 GB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.003, allocations: 0.6129 MB / 0.5726 GB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005003/1.004, allocations: 18.23 kB / 0.5726 GB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.005, allocations: 79.22 kB / 0.5727 GB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003272/1.006, allocations: 140.1 kB / 0.5728 GB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001442/1.006, allocations: 64.17 kB / 0.5729 GB, free: 13.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001936/1.008, allocations: 1.324 MB / 0.5741 GB, free: 12.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002724/1.01, allocations: 0.7032 MB / 0.5748 GB, free: 11.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006024/1.011, allocations: 351.9 kB / 0.5752 GB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004942/1.016, allocations: 3.632 MB / 0.5787 GB, free: 7.383 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.016, allocations: 0 / 0.5787 GB, free: 7.383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003084/1.019, allocations: 2.301 MB / 0.581 GB, free: 5.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/1.022, allocations: 0.5043 MB / 0.5815 GB, free: 4.543 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1939/1.216, allocations: 6.42 MB / 0.5877 GB, free: 94.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003364/1.22, allocations: 2.986 MB / 0.5906 GB, free: 94.14 MB / 346.7 MB Notification: Performance of SimCode: time 1.893e-06/1.22, allocations: 0 / 0.5906 GB, free: 94.14 MB / 346.7 MB Notification: Performance of Templates: time 0.06617/1.286, allocations: 37.72 MB / 0.6275 GB, free: 92.53 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1)