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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000968/0.0009681, allocations: 174.7 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04235/0.04235, allocations: 8.715 MB / 16.79 MB, free: 3.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 221.5 MB / 240.9 MB, free: 13.18 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.0009138/0.0009138, allocations: 95.56 kB / 293.8 MB, free: 7.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.42e-05/1.424e-05, allocations: 4 kB / 352.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 52.55 MB / 405.2 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.4782, allocations: 85.44 MB / 490.6 MB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002105/0.4785, allocations: 69.72 kB / 490.7 MB, free: 1.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03928/0.5178, allocations: 16.24 MB / 0.4951 GB, free: 2.223 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5178, allocations: 0 / 0.4951 GB, free: 2.223 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.233e-05/0.5179, allocations: 8 kB / 0.4951 GB, free: 2.215 MB / 362.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.001839/0.5197, allocations: 0.7901 MB / 0.4958 GB, free: 1.387 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.5198, allocations: 15.92 kB / 0.4958 GB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.5217, allocations: 303.1 kB / 0.4961 GB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.5222, allocations: 340 kB / 0.4965 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/0.5223, allocations: 20 kB / 0.4965 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.5224, allocations: 43.98 kB / 0.4965 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009227/0.5233, allocations: 0.5142 MB / 0.497 GB, free: 128 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008995/0.5242, allocations: 0.5158 MB / 0.4975 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.5242, allocations: 0 / 0.4975 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.484e-05/0.5243, allocations: 4 kB / 0.4975 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.5243, allocations: 20 kB / 0.4976 GB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003282/0.5276, allocations: 2.128 MB / 0.4996 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.5289, allocations: 1.178 MB / 0.5008 GB, free: 11.97 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000254/0.5292, allocations: 182.1 kB / 0.501 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.5293, allocations: 89.47 kB / 0.501 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.5294, allocations: 34.94 kB / 0.5011 GB, free: 11.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.465e-06/0.5294, allocations: 4 kB / 0.5011 GB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001069/0.5305, allocations: 471.6 kB / 0.5015 GB, free: 11.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.5305, allocations: 81.48 kB / 0.5016 GB, free: 11.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.5307, allocations: 161.6 kB / 0.5018 GB, free: 10.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.5307, allocations: 25.7 kB / 0.5018 GB, free: 10.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.5309, allocations: 256 kB / 0.502 GB, free: 10.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.531, allocations: 157.7 kB / 0.5022 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.5311, allocations: 0 / 0.5022 GB, free: 10.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5312, allocations: 334.8 kB / 0.5025 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.5315, allocations: 133.1 kB / 0.5026 GB, free: 10 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.5318, allocations: 265.9 kB / 0.5029 GB, free: 9.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005776/0.5323, allocations: 248.2 kB / 0.5031 GB, free: 9.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5324, allocations: 0 / 0.5031 GB, free: 9.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001076/0.5334, allocations: 0.5453 MB / 0.5036 GB, free: 8.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005222/0.534, allocations: 1.312 MB / 0.5049 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.534, allocations: 4 kB / 0.5049 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002311/0.5342, allocations: 56.83 kB / 0.505 GB, free: 7.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.5347, allocations: 103.9 kB / 0.5051 GB, free: 7.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.5362, allocations: 1.533 MB / 0.5066 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.5365, allocations: 47.52 kB / 0.5066 GB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.5366, allocations: 27.92 kB / 0.5067 GB, free: 5.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.5366, allocations: 4 kB / 0.5067 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001029/0.5376, allocations: 0.4888 MB / 0.5071 GB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5376, allocations: 4 kB / 0.5071 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000141/0.5378, allocations: 52.77 kB / 0.5072 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.5382, allocations: 96.2 kB / 0.5073 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.5394, allocations: 1.452 MB / 0.5087 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.5397, allocations: 39.61 kB / 0.5087 GB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.5398, allocations: 20.75 kB / 0.5088 GB, free: 3.324 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.0001514/0.54, allocations: 118 kB / 0.5089 GB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.5401, allocations: 31.62 kB / 0.5089 GB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.5412, allocations: 0.5356 MB / 0.5094 GB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5412, allocations: 4 kB / 0.5094 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5413, allocations: 0 / 0.5094 GB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5413, allocations: 7.984 kB / 0.5094 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.543, allocations: 1.058 MB / 0.5105 GB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.543, allocations: 0.8438 kB / 0.5105 GB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004058/0.5435, allocations: 91.88 kB / 0.5106 GB, free: 1.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/0.5436, allocations: 44.84 kB / 0.5106 GB, free: 1.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.5437, allocations: 7.984 kB / 0.5106 GB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.545, allocations: 1.514 MB / 0.5121 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.545, allocations: 0 / 0.5121 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.5463, allocations: 0.7883 MB / 0.5129 GB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/0.5465, allocations: 148.6 kB / 0.513 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.589e-05/0.5465, allocations: 0 / 0.513 GB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.5468, allocations: 25.19 kB / 0.513 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.889e-05/0.5469, allocations: 32.39 kB / 0.513 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.024e-05/0.5469, allocations: 12.06 kB / 0.5131 GB, free: 14.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.547, allocations: 136.4 kB / 0.5132 GB, free: 14.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.547, allocations: 0 / 0.5132 GB, free: 14.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009613/0.548, allocations: 238.9 kB / 0.5134 GB, free: 14.33 MB / 394.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.0002796/0.5483, allocations: 148.9 kB / 0.5136 GB, free: 14.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.5497, allocations: 0.8505 MB / 0.5144 GB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5498, allocations: 0 / 0.5144 GB, free: 13.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.5502, allocations: 323.3 kB / 0.5147 GB, free: 12.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.5505, allocations: 27.5 kB / 0.5147 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.5517, allocations: 0.5887 MB / 0.5153 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.5521, allocations: 0.8329 MB / 0.5161 GB, free: 11.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.5525, allocations: 75.23 kB / 0.5162 GB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.417e-05/0.5526, allocations: 31.42 kB / 0.5162 GB, free: 11.39 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5526, allocations: 0 / 0.5162 GB, free: 11.39 MB / 394.7 MB Notification: Performance of Templates: time 0.009123/0.5617, allocations: 4.539 MB / 0.5206 GB, free: 6.93 MB / 394.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)