Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") [: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 trunk/package.mo): time 0.001049/0.001049, allocations: 199.6 kB / 8.536 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 225.5 MB / 234.4 MB, free: 3.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009076/0.0009076, allocations: 91.45 kB / 286.3 MB, free: 5.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.552e-06/6.863e-06, allocations: 4 kB / 343.2 MB, free: 8.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08587/0.08589, allocations: 51.48 MB / 394.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2163/0.3022, allocations: 101.4 MB / 496.1 MB, free: 7.859 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.3024, allocations: 80.83 kB / 496.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.09012/0.3926, allocations: 34.54 MB / 0.5182 GB, free: 10.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001269/0.3927, allocations: 39.94 kB / 0.5183 GB, free: 10.37 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003581/0.3963, allocations: 1.642 MB / 0.5199 GB, free: 8.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3964, allocations: 8.031 kB / 0.5199 GB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000927/0.3973, allocations: 221.7 kB / 0.5201 GB, free: 8.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.3996, allocations: 1.203 MB / 0.5213 GB, free: 7.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/0.3997, allocations: 48 kB / 0.5213 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/0.3999, allocations: 91.91 kB / 0.5214 GB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002631/0.4026, allocations: 1.423 MB / 0.5228 GB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.4054, allocations: 1.727 MB / 0.5245 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.005e-05/0.4055, allocations: 4 kB / 0.5245 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.4056, allocations: 4 kB / 0.5245 GB, free: 3.828 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-05/0.4057, allocations: 70.91 kB / 0.5246 GB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00905/0.4148, allocations: 6.031 MB / 0.5304 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009902/0.4158, allocations: 0.554 MB / 0.531 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.4168, allocations: 0.5953 MB / 0.5316 GB, free: 12.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.4171, allocations: 129.6 kB / 0.5317 GB, free: 12.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4171, allocations: 39.22 kB / 0.5317 GB, free: 12.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 1.894e-06/0.4171, allocations: 0 / 0.5317 GB, free: 12.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.008272/0.4254, allocations: 4.169 MB / 0.5358 GB, free: 7.961 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.4255, allocations: 64.19 kB / 0.5359 GB, free: 7.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.4265, allocations: 0.7883 MB / 0.5366 GB, free: 7.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.4266, allocations: 25.7 kB / 0.5367 GB, free: 7.047 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.427, allocations: 0.634 MB / 0.5373 GB, free: 6.398 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000248/0.4272, allocations: 327.2 kB / 0.5376 GB, free: 6.074 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.656e-05/0.4273, allocations: 0 / 0.5376 GB, free: 6.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4274, allocations: 357.8 kB / 0.5379 GB, free: 5.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007684/0.4282, allocations: 0.5571 MB / 0.5385 GB, free: 5.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009527/0.4292, allocations: 0.8888 MB / 0.5393 GB, free: 4.129 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009962/0.4302, allocations: 0.7134 MB / 0.54 GB, free: 3.418 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4302, allocations: 0 / 0.54 GB, free: 3.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.003291/0.4335, allocations: 2.018 MB / 0.542 GB, free: 1.371 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4335, allocations: 4 kB / 0.542 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.4335, allocations: 15.94 kB / 0.542 GB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001503/0.435, allocations: 0.584 MB / 0.5426 GB, free: 0.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/0.436, allocations: 259.6 kB / 0.5428 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.4436, allocations: 7.654 MB / 0.5503 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000761/0.4443, allocations: 31.97 kB / 0.5504 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.4445, allocations: 48 kB / 0.5504 GB, free: 8.297 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 124 * 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: 4 * 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: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 7,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.4447, allocations: 145.1 kB / 0.5505 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.4449, allocations: 106.7 kB / 0.5506 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/0.4481, allocations: 1.868 MB / 0.5525 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.4482, allocations: 8.094 kB / 0.5525 GB, free: 6.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.4482, allocations: 19.84 kB / 0.5525 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.4482, allocations: 7.969 kB / 0.5525 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006272/0.4545, allocations: 3.746 MB / 0.5562 GB, free: 2.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4545, allocations: 4 kB / 0.5562 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005259/0.455, allocations: 111.8 kB / 0.5563 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/0.457, allocations: 0.7166 MB / 0.557 GB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/0.4571, allocations: 23.89 kB / 0.557 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008929/0.466, allocations: 7.72 MB / 0.5645 GB, free: 9.348 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.466, allocations: 11.92 kB / 0.5645 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00403/0.4701, allocations: 2.788 MB / 0.5673 GB, free: 6.438 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005228/0.4706, allocations: 307.6 kB / 0.5676 GB, free: 6.117 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.4708, allocations: 8.125 kB / 0.5676 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/0.4715, allocations: 35.95 kB / 0.5676 GB, free: 6.074 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4716, allocations: 52.7 kB / 0.5676 GB, free: 6.023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.4717, allocations: 35.91 kB / 0.5677 GB, free: 5.988 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0007646/0.4724, allocations: 0.5904 MB / 0.5683 GB, free: 5.387 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00128/0.4737, allocations: 352.1 kB / 0.5686 GB, free: 5.043 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (imc.inertiaRotor.phi,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * 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,63.3%) 22,(1,100.0%) 1,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004983/0.4742, allocations: 300.2 kB / 0.5689 GB, free: 4.754 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003085/0.4773, allocations: 2.085 MB / 0.5709 GB, free: 2.59 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4773, allocations: 384 / 0.5709 GB, free: 2.59 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.4794, allocations: 1.274 MB / 0.5722 GB, free: 1.262 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.4806, allocations: 258.4 kB / 0.5724 GB, free: 1.008 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1134/0.594, allocations: 2.731 MB / 0.5751 GB, free: 152.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009649/0.595, allocations: 1.571 MB / 0.5766 GB, free: 151.8 MB / 442.7 MB Notification: Performance of SimCode: time 9.51e-07/0.595, allocations: 0 / 0.5766 GB, free: 151.8 MB / 442.7 MB Notification: Performance of Templates: time 0.02498/0.62, allocations: 18.76 MB / 0.5949 GB, free: 151.2 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)