Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") [: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.003603/0.003603, allocations: 172.5 kB / 7.446 MB, free: 2.508 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.277/1.277, allocations: 170.6 MB / 178.4 MB, free: 15.44 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.001755/0.001755, allocations: 111.9 kB / 217.7 MB, free: 8.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.776e-06/8.796e-06, allocations: 4 kB / 261.7 MB, free: 26.64 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09003, allocations: 38.77 MB / 300.5 MB, free: 3.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.4056, allocations: 91.98 MB / 392.5 MB, free: 8.801 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.4059, allocations: 81.58 kB / 392.6 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.1145/0.5205, allocations: 39.58 MB / 432.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002435/0.5208, allocations: 51.94 kB / 432.2 MB, free: 7.027 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.006264/0.527, allocations: 1.921 MB / 434.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.5271, allocations: 8.031 kB / 434.1 MB, free: 5.043 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00158/0.5287, allocations: 257.2 kB / 434.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/0.5328, allocations: 1.301 MB / 435.7 MB, free: 3.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.5329, allocations: 59.94 kB / 435.8 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007287/0.5337, allocations: 115.9 kB / 435.9 MB, free: 3.266 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005085/0.5388, allocations: 1.714 MB / 437.6 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006144/0.545, allocations: 2.041 MB / 439.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.5451, allocations: 11.91 kB / 439.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.5453, allocations: 0 / 439.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.5454, allocations: 87.48 kB / 439.7 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.5601, allocations: 6.805 MB / 446.5 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.5614, allocations: 0.6869 MB / 447.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/0.5627, allocations: 0.7285 MB / 447.9 MB, free: 6.926 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003979/0.5632, allocations: 141.8 kB / 448.1 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.5632, allocations: 43.33 kB / 448.1 MB, free: 6.719 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 3.967e-06/0.5632, allocations: 3.938 kB / 448.1 MB, free: 6.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.01058/0.5738, allocations: 4.588 MB / 452.7 MB, free: 2.059 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/0.5739, allocations: 64.41 kB / 452.8 MB, free: 1.984 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/0.5754, allocations: 0.8234 MB / 453.6 MB, free: 1.145 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/0.5755, allocations: 29.7 kB / 453.6 MB, free: 1.109 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004599/0.5759, allocations: 0.7043 MB / 454.3 MB, free: 400 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003132/0.5762, allocations: 378.3 kB / 454.7 MB, free: 16 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.5763, allocations: 0 / 454.7 MB, free: 16 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.5765, allocations: 358 kB / 455 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009106/0.5774, allocations: 0.6234 MB / 455.7 MB, free: 15.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.5786, allocations: 0.9203 MB / 456.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.5798, allocations: 0.7797 MB / 457.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.5799, allocations: 4 kB / 457.4 MB, free: 13.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00417/0.584, allocations: 2.212 MB / 459.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.5841, allocations: 8 kB / 459.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.5841, allocations: 12 kB / 459.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.5858, allocations: 0.6263 MB / 460.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.5869, allocations: 279.6 kB / 460.5 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007614/0.5945, allocations: 5.754 MB / 466.3 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.5959, allocations: 47.86 kB / 466.3 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.5961, allocations: 51.98 kB / 466.4 MB, free: 3.953 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.5964, allocations: 136.7 kB / 466.5 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003506/0.5968, allocations: 126.4 kB / 466.6 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/0.6008, allocations: 2.089 MB / 468.7 MB, free: 1.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.6008, allocations: 11.91 kB / 468.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.6008, allocations: 8 kB / 468.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.6008, allocations: 7.922 kB / 468.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1686/0.7694, allocations: 4.026 MB / 472.8 MB, free: 127 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.7695, allocations: 2.875 kB / 472.8 MB, free: 127 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007766/0.7703, allocations: 170.7 kB / 472.9 MB, free: 127 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.7721, allocations: 0.7154 MB / 473.6 MB, free: 127 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.628e-05/0.7722, allocations: 17.53 kB / 473.7 MB, free: 127 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007185/0.7793, allocations: 7.39 MB / 481 MB, free: 123.5 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/0.7794, allocations: 5.969 kB / 481.1 MB, free: 123.5 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004257/0.7836, allocations: 3.203 MB / 484.3 MB, free: 123 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/0.7846, allocations: 341.4 kB / 484.6 MB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.7848, allocations: 9 kB / 484.6 MB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007688/0.7856, allocations: 59.09 kB / 484.7 MB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.7857, allocations: 71.22 kB / 484.7 MB, free: 122.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/0.7858, allocations: 39.75 kB / 484.8 MB, free: 122.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0009938/0.7868, allocations: 0.6201 MB / 485.4 MB, free: 122.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001535/0.7884, allocations: 397 kB / 485.8 MB, free: 122.8 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005325/0.7889, allocations: 275.1 kB / 486 MB, free: 122.7 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002919/0.7919, allocations: 2.077 MB / 488.1 MB, free: 122.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7919, allocations: 3.906 kB / 488.1 MB, free: 122.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002144/0.794, allocations: 1.391 MB / 489.5 MB, free: 121.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.7954, allocations: 256.1 kB / 489.8 MB, free: 121.9 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006031/0.8014, allocations: 3.214 MB / 493 MB, free: 121.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/0.8029, allocations: 1.75 MB / 494.7 MB, free: 120.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/0.8029, allocations: 0 / 494.7 MB, free: 120.4 MB / 346.7 MB Notification: Performance of Templates: time 0.03517/0.8381, allocations: 20.43 MB / 0.5031 GB, free: 116.7 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1)