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.001421/0.001421, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05855/0.05855, allocations: 8.702 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.4 MB / 246 MB, free: 3.613 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.0008717/0.0008719, allocations: 89.12 kB / 299.1 MB, free: 3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.906e-05/2.91e-05, allocations: 0 / 359.5 MB, free: 6.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2596, allocations: 52.54 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.3672, allocations: 86.11 MB / 498.2 MB, free: 328 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.3674, allocations: 75.97 kB / 498.2 MB, free: 252 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3355/0.703, allocations: 16.44 MB / 0.5026 GB, free: 85.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.703, allocations: 0 / 0.5026 GB, free: 85.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.43e-05/0.7031, allocations: 12.94 kB / 0.5026 GB, free: 85.7 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.002817/0.7059, allocations: 0.7777 MB / 0.5034 GB, free: 85.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.706, allocations: 11 kB / 0.5034 GB, free: 85.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.7098, allocations: 301.5 kB / 0.5037 GB, free: 85.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007063/0.7105, allocations: 340.7 kB / 0.504 GB, free: 85.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.109e-05/0.7106, allocations: 42.38 kB / 0.5041 GB, free: 85.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.7108, allocations: 57.44 kB / 0.5041 GB, free: 85.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.7126, allocations: 0.6151 MB / 0.5047 GB, free: 85.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.7127, allocations: 1.125 kB / 0.5047 GB, free: 85.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/0.7128, allocations: 27.89 kB / 0.5047 GB, free: 85.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.7128, allocations: 19.06 kB / 0.5048 GB, free: 85.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.7145, allocations: 0.5469 MB / 0.5053 GB, free: 85.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005414/0.7199, allocations: 2.257 MB / 0.5075 GB, free: 84.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.7221, allocations: 1.193 MB / 0.5087 GB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.7226, allocations: 196.3 kB / 0.5088 GB, free: 83.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.7228, allocations: 94 kB / 0.5089 GB, free: 83.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.7228, allocations: 37.7 kB / 0.509 GB, free: 83.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 4.118e-06/0.7229, allocations: 2.438 kB / 0.509 GB, free: 83.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.00139/0.7243, allocations: 434.8 kB / 0.5094 GB, free: 83.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.7243, allocations: 85.3 kB / 0.5095 GB, free: 82.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004539/0.7248, allocations: 241.7 kB / 0.5097 GB, free: 82.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.7249, allocations: 33.92 kB / 0.5097 GB, free: 82.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.7251, allocations: 240.9 kB / 0.51 GB, free: 82.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.7253, allocations: 160.3 kB / 0.5101 GB, free: 82.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.7253, allocations: 15.66 kB / 0.5101 GB, free: 82.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.7255, allocations: 342.2 kB / 0.5105 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/0.726, allocations: 139.7 kB / 0.5106 GB, free: 82.27 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000642/0.7267, allocations: 267.5 kB / 0.5108 GB, free: 82.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/0.7274, allocations: 179.7 kB / 0.511 GB, free: 82.13 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.7274, allocations: 4.75 kB / 0.511 GB, free: 82.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001744/0.7292, allocations: 0.5195 MB / 0.5115 GB, free: 82.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003191/0.7295, allocations: 1.311 MB / 0.5128 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.7295, allocations: 4.344 kB / 0.5128 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/0.73, allocations: 58.62 kB / 0.5129 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/0.7308, allocations: 107 kB / 0.513 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.7326, allocations: 1.594 MB / 0.5145 GB, free: 79.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.7332, allocations: 66.7 kB / 0.5146 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.391e-05/0.7333, allocations: 28.44 kB / 0.5146 GB, free: 79.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.7333, allocations: 5.688 kB / 0.5146 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/0.7346, allocations: 472.5 kB / 0.5151 GB, free: 79.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.7347, allocations: 8 kB / 0.5151 GB, free: 79.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.7349, allocations: 47.64 kB / 0.5151 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.7356, allocations: 100.3 kB / 0.5152 GB, free: 79.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.737, allocations: 1.506 MB / 0.5167 GB, free: 77.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005135/0.7376, allocations: 55.23 kB / 0.5167 GB, free: 77.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.7376, allocations: 23.45 kB / 0.5168 GB, free: 77.81 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.0001713/0.7378, allocations: 139.5 kB / 0.5169 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.7379, allocations: 35.31 kB / 0.5169 GB, free: 77.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.7394, allocations: 0.5059 MB / 0.5174 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.7394, allocations: 5.094 kB / 0.5174 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.7394, allocations: 0 / 0.5174 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.7394, allocations: 0 / 0.5174 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.7415, allocations: 1.104 MB / 0.5185 GB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.7415, allocations: 0 / 0.5185 GB, free: 76.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/0.7422, allocations: 88.95 kB / 0.5186 GB, free: 76.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002746/0.7425, allocations: 56.75 kB / 0.5187 GB, free: 76.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.7426, allocations: 11.62 kB / 0.5187 GB, free: 76.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001521/0.7441, allocations: 1.588 MB / 0.5202 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7441, allocations: 6.031 kB / 0.5202 GB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.7457, allocations: 0.7599 MB / 0.521 GB, free: 74.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.7459, allocations: 147.1 kB / 0.5211 GB, free: 74.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.984e-05/0.746, allocations: 14.91 kB / 0.5211 GB, free: 74.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.7465, allocations: 33.83 kB / 0.5211 GB, free: 74.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.7466, allocations: 33.52 kB / 0.5212 GB, free: 74.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.754e-05/0.7467, allocations: 11.44 kB / 0.5212 GB, free: 74.69 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000228/0.7469, allocations: 188.4 kB / 0.5214 GB, free: 74.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.747, allocations: 0 / 0.5214 GB, free: 74.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001325/0.7483, allocations: 256.9 kB / 0.5216 GB, free: 74.5 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.0003266/0.7486, allocations: 169.2 kB / 0.5218 GB, free: 74.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.7507, allocations: 0.9037 MB / 0.5227 GB, free: 73.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7507, allocations: 0 / 0.5227 GB, free: 73.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006437/0.7514, allocations: 341.4 kB / 0.523 GB, free: 73.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.7518, allocations: 31.23 kB / 0.523 GB, free: 73.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.7534, allocations: 0.6233 MB / 0.5236 GB, free: 73.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.7537, allocations: 0.8342 MB / 0.5244 GB, free: 72.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007168/0.7544, allocations: 88.39 kB / 0.5245 GB, free: 72.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.7546, allocations: 32.75 kB / 0.5246 GB, free: 72.6 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.7546, allocations: 0 / 0.5246 GB, free: 72.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01569/0.7703, allocations: 5.409 MB / 0.5298 GB, free: 72.01 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)