Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") [: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 4.0.0+maint.om/package.mo): time 0.003203/0.003203, allocations: 178.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06017/0.06017, allocations: 8.697 MB / 16.57 MB, free: 444 kB / 10.45 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 221.4 MB / 240.5 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 91 kB / 293.5 MB, free: 7.418 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.781e-06/5.971e-06, allocations: 0 / 352.1 MB, free: 12.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2584, allocations: 52.54 MB / 404.6 MB, free: 27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1208/0.3792, allocations: 85.38 MB / 490 MB, free: 5.488 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.3796, allocations: 71.97 kB / 490.1 MB, free: 5.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.04337/0.423, allocations: 15.9 MB / 0.4941 GB, free: 5.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.637e-05/0.4231, allocations: 8 kB / 0.4941 GB, free: 5.367 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002184/0.4253, allocations: 0.8029 MB / 0.4949 GB, free: 4.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.4253, allocations: 8.031 kB / 0.4949 GB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.4275, allocations: 327 kB / 0.4952 GB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005683/0.4281, allocations: 336.1 kB / 0.4955 GB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.4282, allocations: 23.91 kB / 0.4956 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.977e-05/0.4283, allocations: 35.98 kB / 0.4956 GB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009858/0.4292, allocations: 0.5181 MB / 0.4961 GB, free: 3.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009197/0.4302, allocations: 0.5158 MB / 0.4966 GB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.4302, allocations: 4 kB / 0.4966 GB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.4303, allocations: 0 / 0.4966 GB, free: 2.707 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.4303, allocations: 16 kB / 0.4966 GB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/0.434, allocations: 2.136 MB / 0.4987 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007691/0.4348, allocations: 421.1 kB / 0.4991 GB, free: 0 / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1615/0.5963, allocations: 179.2 kB / 0.4993 GB, free: 123 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.5965, allocations: 100 kB / 0.4994 GB, free: 122.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.5966, allocations: 38.44 kB / 0.4994 GB, free: 122.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.725e-06/0.5966, allocations: 0 / 0.4994 GB, free: 122.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.00126/0.5978, allocations: 422.4 kB / 0.4998 GB, free: 122.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.5979, allocations: 84.33 kB / 0.4999 GB, free: 122.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.5981, allocations: 168 kB / 0.5001 GB, free: 122.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.5982, allocations: 25.7 kB / 0.5001 GB, free: 122.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.5983, allocations: 242 kB / 0.5003 GB, free: 122.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5984, allocations: 155 kB / 0.5005 GB, free: 122.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.5984, allocations: 3.75 kB / 0.5005 GB, free: 122.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.948e-05/0.5985, allocations: 332.9 kB / 0.5008 GB, free: 122.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.5987, allocations: 141.6 kB / 0.5009 GB, free: 122.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.599, allocations: 258.8 kB / 0.5012 GB, free: 122 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.5995, allocations: 192.4 kB / 0.5013 GB, free: 122 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.5995, allocations: 7.219 kB / 0.5014 GB, free: 122 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0009292/0.6004, allocations: 0.4995 MB / 0.5018 GB, free: 121.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002766/0.6007, allocations: 1.303 MB / 0.5031 GB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.6007, allocations: 5.25 kB / 0.5031 GB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002901/0.601, allocations: 58.58 kB / 0.5032 GB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.6015, allocations: 106.7 kB / 0.5033 GB, free: 120.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/0.6028, allocations: 1.508 MB / 0.5048 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.6032, allocations: 51.81 kB / 0.5048 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/0.6032, allocations: 19.34 kB / 0.5048 GB, free: 119.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.6032, allocations: 7.469 kB / 0.5048 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008529/0.6041, allocations: 456 kB / 0.5053 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6041, allocations: 3.781 kB / 0.5053 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.6043, allocations: 52.34 kB / 0.5053 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/0.6047, allocations: 98.47 kB / 0.5054 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.6057, allocations: 1.435 MB / 0.5068 GB, free: 118.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.6061, allocations: 39.89 kB / 0.5068 GB, free: 118.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.6061, allocations: 22.62 kB / 0.5069 GB, free: 118.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.6062, allocations: 113.6 kB / 0.507 GB, free: 118 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.6063, allocations: 24.41 kB / 0.507 GB, free: 117.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009609/0.6073, allocations: 0.5014 MB / 0.5075 GB, free: 117.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.6073, allocations: 14.09 kB / 0.5075 GB, free: 117.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6073, allocations: 4.703 kB / 0.5075 GB, free: 117.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6073, allocations: 3.516 kB / 0.5075 GB, free: 117.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.6087, allocations: 1.03 MB / 0.5085 GB, free: 117.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6087, allocations: 0.7188 kB / 0.5085 GB, free: 117.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.6092, allocations: 84.94 kB / 0.5086 GB, free: 117.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001593/0.6093, allocations: 49.73 kB / 0.5086 GB, free: 117.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.6094, allocations: 12.92 kB / 0.5087 GB, free: 117.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009709/0.6104, allocations: 1.508 MB / 0.5101 GB, free: 116.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6104, allocations: 3.938 kB / 0.5101 GB, free: 116.3 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00102/0.6114, allocations: 0.7487 MB / 0.5109 GB, free: 116.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.6115, allocations: 145.8 kB / 0.511 GB, free: 116 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.6116, allocations: 3.906 kB / 0.511 GB, free: 116 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/0.6119, allocations: 29.45 kB / 0.511 GB, free: 116 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.612, allocations: 25.16 kB / 0.5111 GB, free: 116 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.127e-05/0.612, allocations: 17 kB / 0.5111 GB, free: 116 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.707e-05/0.6121, allocations: 136.3 kB / 0.5112 GB, free: 115.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007994/0.6129, allocations: 234.5 kB / 0.5114 GB, free: 115.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002934/0.6132, allocations: 141.4 kB / 0.5116 GB, free: 115.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.6145, allocations: 0.8493 MB / 0.5124 GB, free: 115.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6145, allocations: 3.5 kB / 0.5124 GB, free: 115.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.6149, allocations: 319.8 kB / 0.5127 GB, free: 115.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.6152, allocations: 17.38 kB / 0.5127 GB, free: 115.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.6167, allocations: 0.6133 MB / 0.5133 GB, free: 115.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004401/0.6172, allocations: 0.8666 MB / 0.5142 GB, free: 114.6 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.6172, allocations: 0.75 kB / 0.5142 GB, free: 114.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01354/0.6307, allocations: 7.295 MB / 0.5213 GB, free: 114.3 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile (rm -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe >> ../files/HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.sim & ./HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1)