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.005565/0.005565, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.385/1.385, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.00165/0.001649, allocations: 192.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03362/0.03362, allocations: 8.789 MB / 348.6 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 83.86 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.113, allocations: 51.57 MB / 0.5034 GB, free: 9.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005805/0.1188, allocations: 3.972 MB / 0.5073 GB, free: 5.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.1217, allocations: 1.569 MB / 0.5088 GB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.122, allocations: 12 kB / 0.5088 GB, free: 3.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.1238, allocations: 0.7699 MB / 0.5096 GB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.1249, allocations: 0.5285 MB / 0.5101 GB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008636/0.1258, allocations: 485.8 kB / 0.5105 GB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005724/0.1264, allocations: 0.5409 MB / 0.5111 GB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006991/0.1271, allocations: 0.4999 MB / 0.5116 GB, free: 1.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.1274, allocations: 243.1 kB / 0.5118 GB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.1277, allocations: 306.8 kB / 0.5121 GB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.1278, allocations: 52 kB / 0.5121 GB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.1282, allocations: 227.8 kB / 0.5123 GB, free: 300 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.1283, allocations: 119.7 kB / 0.5125 GB, free: 180 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002506/0.1286, allocations: 274.7 kB / 0.5127 GB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007993/0.1294, allocations: 0.8059 MB / 0.5135 GB, free: 15.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1294, allocations: 0 / 0.5135 GB, free: 15.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1294, allocations: 0 / 0.5135 GB, free: 15.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1294, allocations: 0 / 0.5135 GB, free: 15.1 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.001843/0.1313, allocations: 0.9403 MB / 0.5144 GB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1313, allocations: 8.031 kB / 0.5144 GB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/0.1339, allocations: 403.9 kB / 0.5148 GB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005862/0.1345, allocations: 361.3 kB / 0.5152 GB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.1346, allocations: 45.69 kB / 0.5152 GB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.44e-05/0.1347, allocations: 67.94 kB / 0.5153 GB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1357, allocations: 0.6276 MB / 0.5159 GB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.1358, allocations: 0 / 0.5159 GB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.1358, allocations: 24 kB / 0.5159 GB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.1359, allocations: 16 kB / 0.5159 GB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1369, allocations: 0.5751 MB / 0.5165 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.1399, allocations: 2.161 MB / 0.5186 GB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.1412, allocations: 1.183 MB / 0.5198 GB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.1416, allocations: 192.8 kB / 0.5199 GB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.894e-05/0.1417, allocations: 97.39 kB / 0.52 GB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.1417, allocations: 38.56 kB / 0.5201 GB, free: 7.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 3.026e-06/0.1417, allocations: 4 kB / 0.5201 GB, free: 7.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001526/0.1432, allocations: 0.6824 MB / 0.5207 GB, free: 7.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.1433, allocations: 59.39 kB / 0.5208 GB, free: 7.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.1436, allocations: 270.5 kB / 0.5211 GB, free: 6.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.1436, allocations: 41.62 kB / 0.5211 GB, free: 6.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.1438, allocations: 236.4 kB / 0.5213 GB, free: 6.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/0.1439, allocations: 153.8 kB / 0.5215 GB, free: 6.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.144, allocations: 86.16 kB / 0.5215 GB, free: 6.344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1441, allocations: 342.8 kB / 0.5219 GB, free: 6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.1444, allocations: 155 kB / 0.522 GB, free: 5.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.1448, allocations: 253.9 kB / 0.5223 GB, free: 5.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006788/0.1455, allocations: 437.7 kB / 0.5227 GB, free: 5.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1455, allocations: 0 / 0.5227 GB, free: 5.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009481/0.1465, allocations: 0.5254 MB / 0.5232 GB, free: 4.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.1465, allocations: 4 kB / 0.5232 GB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1465, allocations: 4 kB / 0.5232 GB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.1468, allocations: 61.23 kB / 0.5233 GB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.1471, allocations: 103.8 kB / 0.5234 GB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.1486, allocations: 1.755 MB / 0.5251 GB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.1489, allocations: 55.52 kB / 0.5251 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.312e-05/0.1489, allocations: 23.92 kB / 0.5251 GB, free: 2.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003858/0.1493, allocations: 277.2 kB / 0.5254 GB, free: 2.129 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003335/0.1497, allocations: 249.5 kB / 0.5257 GB, free: 1.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000622/0.1503, allocations: 431.6 kB / 0.5261 GB, free: 1.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.1503, allocations: 0 / 0.5261 GB, free: 1.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0008694/0.1512, allocations: 0.505 MB / 0.5266 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.1512, allocations: 12.34 kB / 0.5266 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.1512, allocations: 4.047 kB / 0.5266 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.1514, allocations: 60.81 kB / 0.5266 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.1518, allocations: 95.83 kB / 0.5267 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2357/0.3875, allocations: 1.751 MB / 0.5284 GB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/0.3879, allocations: 42.66 kB / 0.5285 GB, free: 22.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.3879, allocations: 18.69 kB / 0.5285 GB, free: 22.82 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.00013/0.388, allocations: 209.9 kB / 0.5287 GB, free: 22.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.32e-05/0.3881, allocations: 34.22 kB / 0.5287 GB, free: 22.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009485/0.3891, allocations: 0.5076 MB / 0.5292 GB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3891, allocations: 4 kB / 0.5292 GB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3891, allocations: 4.078 kB / 0.5292 GB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3891, allocations: 2.344 kB / 0.5292 GB, free: 22.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.3905, allocations: 1.076 MB / 0.5303 GB, free: 22.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3905, allocations: 0 / 0.5303 GB, free: 22.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.3909, allocations: 80.42 kB / 0.5304 GB, free: 22.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.391, allocations: 54.48 kB / 0.5304 GB, free: 22.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.756e-05/0.3911, allocations: 12.02 kB / 0.5304 GB, free: 22.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3921, allocations: 1.759 MB / 0.5321 GB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3921, allocations: 1.562 kB / 0.5321 GB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3933, allocations: 0.7529 MB / 0.5329 GB, free: 20.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.3934, allocations: 148.5 kB / 0.533 GB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.3934, allocations: 7.188 kB / 0.533 GB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.3937, allocations: 26.62 kB / 0.533 GB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.3938, allocations: 32.44 kB / 0.5331 GB, free: 20.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.3938, allocations: 14.55 kB / 0.5331 GB, free: 20.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001671/0.394, allocations: 192.7 kB / 0.5333 GB, free: 20.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.394, allocations: 0 / 0.5333 GB, free: 20.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008307/0.3948, allocations: 238.1 kB / 0.5335 GB, free: 20.36 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.0002155/0.3951, allocations: 137.3 kB / 0.5336 GB, free: 20.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001491/0.3966, allocations: 0.8857 MB / 0.5345 GB, free: 20.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3966, allocations: 0 / 0.5345 GB, free: 20.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.3971, allocations: 339.9 kB / 0.5348 GB, free: 19.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3975, allocations: 50.66 kB / 0.5349 GB, free: 19.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3989, allocations: 0.8546 MB / 0.5357 GB, free: 19.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.3991, allocations: 0.8238 MB / 0.5365 GB, free: 18.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.3994, allocations: 78.33 kB / 0.5366 GB, free: 18.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.72e-05/0.3995, allocations: 34.34 kB / 0.5366 GB, free: 18.85 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3995, allocations: 0 / 0.5366 GB, free: 18.85 MB / 366.1 MB Notification: Performance of Templates: time 0.0121/0.4116, allocations: 4.865 MB / 0.5414 GB, free: 18.57 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)