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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004882/0.004882, allocations: 96.94 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 239.4 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 188.2 kB / 289.7 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03396/0.03396, allocations: 8.796 MB / 348.7 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 75.89 kB / 463.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08932/0.09079, allocations: 51.57 MB / 0.5034 GB, free: 9.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005351/0.09617, allocations: 3.983 MB / 0.5073 GB, free: 5.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.09899, allocations: 1.565 MB / 0.5088 GB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.09944, allocations: 12 kB / 0.5088 GB, free: 3.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001764/0.1012, allocations: 0.777 MB / 0.5096 GB, free: 3.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.1025, allocations: 0.5208 MB / 0.5101 GB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009489/0.1034, allocations: 492.6 kB / 0.5105 GB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006952/0.1041, allocations: 0.5409 MB / 0.5111 GB, free: 1.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007278/0.1049, allocations: 0.4922 MB / 0.5116 GB, free: 1.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/0.1052, allocations: 247 kB / 0.5118 GB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003637/0.1056, allocations: 310.8 kB / 0.5121 GB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.865e-05/0.1057, allocations: 52 kB / 0.5121 GB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.1061, allocations: 223.8 kB / 0.5124 GB, free: 256 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.1062, allocations: 123.6 kB / 0.5125 GB, free: 132 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.1064, allocations: 270.6 kB / 0.5127 GB, free: 15.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008954/0.1073, allocations: 0.8017 MB / 0.5135 GB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1073, allocations: 0 / 0.5135 GB, free: 15.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1074, allocations: 0 / 0.5135 GB, free: 15.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.914e-05/0.1074, allocations: 3.938 kB / 0.5135 GB, free: 15.05 MB / 366.1 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.001984/0.1094, allocations: 0.9549 MB / 0.5144 GB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1094, allocations: 8.031 kB / 0.5145 GB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002687/0.1121, allocations: 408.2 kB / 0.5148 GB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/0.1127, allocations: 361.3 kB / 0.5152 GB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.1127, allocations: 45.69 kB / 0.5152 GB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.674e-05/0.1128, allocations: 63.94 kB / 0.5153 GB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.1139, allocations: 0.6276 MB / 0.5159 GB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.1139, allocations: 0 / 0.5159 GB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.114, allocations: 24 kB / 0.5159 GB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.114, allocations: 15.98 kB / 0.5159 GB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.115, allocations: 0.5829 MB / 0.5165 GB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.1179, allocations: 2.17 MB / 0.5186 GB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.1192, allocations: 1.177 MB / 0.5198 GB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.1196, allocations: 196.8 kB / 0.52 GB, free: 8.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.209e-05/0.1197, allocations: 93.09 kB / 0.5201 GB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1197, allocations: 38.56 kB / 0.5201 GB, free: 7.855 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.885e-06/0.1197, allocations: 7.922 kB / 0.5201 GB, free: 7.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00149/0.1212, allocations: 0.6864 MB / 0.5208 GB, free: 7.133 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.1213, allocations: 55.41 kB / 0.5208 GB, free: 7.066 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1215, allocations: 274.6 kB / 0.5211 GB, free: 6.797 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1216, allocations: 33.7 kB / 0.5211 GB, free: 6.758 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1217, allocations: 245.2 kB / 0.5214 GB, free: 6.512 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.772e-05/0.1218, allocations: 158.7 kB / 0.5215 GB, free: 6.355 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.1219, allocations: 86.19 kB / 0.5216 GB, free: 6.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.122, allocations: 342.8 kB / 0.5219 GB, free: 5.918 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003113/0.1223, allocations: 155 kB / 0.5221 GB, free: 5.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.1227, allocations: 249.9 kB / 0.5223 GB, free: 5.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007076/0.1234, allocations: 437.8 kB / 0.5227 GB, free: 5.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1234, allocations: 4 kB / 0.5227 GB, free: 5 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009721/0.1244, allocations: 0.5258 MB / 0.5232 GB, free: 4.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1244, allocations: 4 kB / 0.5232 GB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1245, allocations: 4 kB / 0.5232 GB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002395/0.1247, allocations: 56.83 kB / 0.5233 GB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003894/0.1251, allocations: 99.88 kB / 0.5234 GB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.1265, allocations: 1.759 MB / 0.5251 GB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.1268, allocations: 63.8 kB / 0.5252 GB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.1269, allocations: 27.92 kB / 0.5252 GB, free: 2.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003824/0.1273, allocations: 273.1 kB / 0.5255 GB, free: 2.043 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003338/0.1276, allocations: 249.6 kB / 0.5257 GB, free: 1.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006259/0.1282, allocations: 435.5 kB / 0.5261 GB, free: 1.289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.1282, allocations: 0 / 0.5261 GB, free: 1.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000885/0.1291, allocations: 0.5093 MB / 0.5266 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1292, allocations: 11.94 kB / 0.5266 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1292, allocations: 3.984 kB / 0.5266 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/0.1293, allocations: 56.83 kB / 0.5267 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.1297, allocations: 99.83 kB / 0.5268 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1885/0.3182, allocations: 1.748 MB / 0.5285 GB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.3186, allocations: 46.22 kB / 0.5285 GB, free: 22.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.3186, allocations: 18.97 kB / 0.5285 GB, free: 22.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.3187, allocations: 210.4 kB / 0.5287 GB, free: 22.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.3188, allocations: 35.55 kB / 0.5288 GB, free: 22.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009462/0.3198, allocations: 0.5004 MB / 0.5293 GB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.3198, allocations: 10.38 kB / 0.5293 GB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3198, allocations: 0 / 0.5293 GB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3198, allocations: 3.281 kB / 0.5293 GB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.3211, allocations: 1.082 MB / 0.5303 GB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3211, allocations: 0 / 0.5303 GB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.3215, allocations: 80.64 kB / 0.5304 GB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001543/0.3216, allocations: 54.8 kB / 0.5305 GB, free: 22.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.3217, allocations: 13.8 kB / 0.5305 GB, free: 22.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009449/0.3226, allocations: 1.763 MB / 0.5322 GB, free: 20.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3226, allocations: 0 / 0.5322 GB, free: 20.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.3237, allocations: 0.7521 MB / 0.5329 GB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.3238, allocations: 146.9 kB / 0.5331 GB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.3239, allocations: 10.75 kB / 0.5331 GB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.3241, allocations: 25.11 kB / 0.5331 GB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.3242, allocations: 26.48 kB / 0.5331 GB, free: 20.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3242, allocations: 16.69 kB / 0.5331 GB, free: 20.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001426/0.3244, allocations: 198.3 kB / 0.5333 GB, free: 20.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3244, allocations: 0 / 0.5333 GB, free: 20.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000749/0.3251, allocations: 243.1 kB / 0.5336 GB, free: 20.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002041/0.3253, allocations: 134.2 kB / 0.5337 GB, free: 20.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001408/0.3268, allocations: 0.8863 MB / 0.5346 GB, free: 19.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3268, allocations: 2.188 kB / 0.5346 GB, free: 19.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.3273, allocations: 340.1 kB / 0.5349 GB, free: 19.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.3277, allocations: 41.48 kB / 0.5349 GB, free: 19.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.3289, allocations: 0.8674 MB / 0.5358 GB, free: 19.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.3291, allocations: 0.8241 MB / 0.5366 GB, free: 18.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002776/0.3294, allocations: 73.08 kB / 0.5366 GB, free: 18.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.3295, allocations: 38.39 kB / 0.5367 GB, free: 18.73 MB / 366.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3295, allocations: 1.031 kB / 0.5367 GB, free: 18.73 MB / 366.1 MB Notification: Performance of Templates: time 0.009248/0.3388, allocations: 4.869 MB / 0.5414 GB, free: 18.46 MB / 366.1 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)