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: "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.RLSeriesFrequencySweep,fileNamePrefix="HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 177.5 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04046/0.04047, allocations: 8.71 MB / 16.79 MB, free: 3.375 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.507/1.507, allocations: 221.5 MB / 240.9 MB, free: 13.15 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.0008697/0.0008699, allocations: 96.88 kB / 293.9 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.592e-05, allocations: 0 / 352.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 52.56 MB / 405.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3888/0.4996, allocations: 85.45 MB / 490.7 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4998, allocations: 69.41 kB / 490.8 MB, free: 1.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03885/0.5387, allocations: 16.24 MB / 0.4952 GB, free: 2.086 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5388, allocations: 4.594 kB / 0.4952 GB, free: 2.082 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.142e-05/0.5388, allocations: 12 kB / 0.4952 GB, free: 2.07 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.001777/0.5406, allocations: 0.7864 MB / 0.4959 GB, free: 1.246 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5406, allocations: 15.97 kB / 0.496 GB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.5425, allocations: 299.1 kB / 0.4962 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.5429, allocations: 344.7 kB / 0.4966 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.543, allocations: 16 kB / 0.4966 GB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.184e-05/0.5431, allocations: 37.12 kB / 0.4966 GB, free: 0.5078 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000913/0.544, allocations: 0.522 MB / 0.4971 GB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008513/0.5449, allocations: 0.5118 MB / 0.4976 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.5449, allocations: 0 / 0.4976 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.637e-05/0.5449, allocations: 0 / 0.4976 GB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.545, allocations: 21.8 kB / 0.4976 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.5483, allocations: 2.126 MB / 0.4997 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.5498, allocations: 1.178 MB / 0.5009 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.5501, allocations: 182.1 kB / 0.501 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.5503, allocations: 93.84 kB / 0.5011 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.5503, allocations: 41.09 kB / 0.5012 GB, free: 11.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 3.015e-06/0.5503, allocations: 0 / 0.5012 GB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.001155/0.5515, allocations: 467.6 kB / 0.5016 GB, free: 11.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.5515, allocations: 89.47 kB / 0.5017 GB, free: 10.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.5517, allocations: 161.6 kB / 0.5019 GB, free: 10.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.5518, allocations: 25.7 kB / 0.5019 GB, free: 10.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.552, allocations: 252 kB / 0.5021 GB, free: 10.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.5521, allocations: 157.7 kB / 0.5023 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/0.5521, allocations: 0 / 0.5023 GB, free: 10.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5523, allocations: 330.8 kB / 0.5026 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.5525, allocations: 141 kB / 0.5027 GB, free: 9.859 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.5528, allocations: 261.9 kB / 0.503 GB, free: 9.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005532/0.5534, allocations: 248.2 kB / 0.5032 GB, free: 9.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5534, allocations: 0 / 0.5032 GB, free: 9.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00108/0.5545, allocations: 0.5449 MB / 0.5037 GB, free: 8.758 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006379/0.5551, allocations: 1.313 MB / 0.505 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5552, allocations: 4 kB / 0.505 GB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/0.5554, allocations: 60.83 kB / 0.5051 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.5558, allocations: 99.88 kB / 0.5052 GB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.5573, allocations: 1.535 MB / 0.5067 GB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/0.5577, allocations: 52.7 kB / 0.5067 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.966e-05/0.5577, allocations: 23.98 kB / 0.5068 GB, free: 5.457 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.5577, allocations: 4 kB / 0.5068 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001058/0.5588, allocations: 0.4905 MB / 0.5072 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.5588, allocations: 4 kB / 0.5072 GB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001488/0.559, allocations: 52.83 kB / 0.5073 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.5594, allocations: 95.89 kB / 0.5074 GB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.5607, allocations: 1.442 MB / 0.5088 GB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.5611, allocations: 47.58 kB / 0.5088 GB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.5611, allocations: 20 kB / 0.5089 GB, free: 3.191 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.0002048/0.5613, allocations: 116.8 kB / 0.509 GB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000984/0.5623, allocations: 462.2 kB / 0.5094 GB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.5624, allocations: 35.67 kB / 0.5094 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.5635, allocations: 0.5278 MB / 0.51 GB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.5635, allocations: 4 kB / 0.51 GB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5636, allocations: 7.984 kB / 0.51 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.5636, allocations: 7.953 kB / 0.51 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.5655, allocations: 1.057 MB / 0.511 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5656, allocations: 0 / 0.511 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.566, allocations: 87.89 kB / 0.5111 GB, free: 0.8203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001741/0.5662, allocations: 48.83 kB / 0.5111 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.5662, allocations: 9.156 kB / 0.5112 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.5677, allocations: 1.513 MB / 0.5126 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.5677, allocations: 3.953 kB / 0.5126 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.569, allocations: 0.7959 MB / 0.5134 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.5692, allocations: 148.7 kB / 0.5136 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.5692, allocations: 0 / 0.5136 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.5695, allocations: 19.98 kB / 0.5136 GB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.739e-05/0.5696, allocations: 32.39 kB / 0.5136 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.5696, allocations: 19.98 kB / 0.5136 GB, free: 14.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.5698, allocations: 128.5 kB / 0.5137 GB, free: 13.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5698, allocations: 0 / 0.5137 GB, free: 13.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009029/0.5707, allocations: 242.9 kB / 0.514 GB, free: 13.72 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.001667/0.5723, allocations: 1.364 MB / 0.5153 GB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.5737, allocations: 0.8517 MB / 0.5161 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5737, allocations: 0 / 0.5161 GB, free: 11.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.5741, allocations: 331.8 kB / 0.5165 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.5744, allocations: 21.8 kB / 0.5165 GB, free: 11.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.5758, allocations: 0.6631 MB / 0.5171 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.5762, allocations: 0.8407 MB / 0.5179 GB, free: 9.543 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003666/0.5766, allocations: 67.25 kB / 0.518 GB, free: 9.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.5768, allocations: 147.4 kB / 0.5181 GB, free: 9.336 MB / 394.7 MB Notification: Performance of SimCode: time 4.41e-07/0.5768, allocations: 0 / 0.5181 GB, free: 9.336 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0286/0.6054, allocations: 7.409 MB / 0.5254 GB, free: 2.012 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.6057, allocations: 142.8 kB / 0.5255 GB, free: 1.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.078/2.684, allocations: 4.844 kB / 0.5255 GB, free: 1.816 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_RLSeriesFrequencySweep.fmu > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1)