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.001273/0.001273, allocations: 112.9 kB / 16.42 MB, free: 6.449 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.343/1.343, allocations: 222.9 MB / 240.1 MB, free: 4.566 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.001322/0.001322, allocations: 188.4 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03562/0.03562, allocations: 8.799 MB / 349.3 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 79.88 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07909/0.08063, allocations: 51.56 MB / 0.5041 GB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004647/0.08531, allocations: 3.979 MB / 0.5079 GB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.08746, allocations: 1.577 MB / 0.5095 GB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.08764, allocations: 16 kB / 0.5095 GB, free: 3.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.08929, allocations: 0.762 MB / 0.5102 GB, free: 3.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009473/0.09025, allocations: 0.5246 MB / 0.5107 GB, free: 2.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/0.09109, allocations: 489.8 kB / 0.5112 GB, free: 2.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000542/0.09164, allocations: 0.541 MB / 0.5117 GB, free: 1.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006913/0.09234, allocations: 0.496 MB / 0.5122 GB, free: 1.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.09262, allocations: 251.1 kB / 0.5125 GB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.09294, allocations: 302.8 kB / 0.5128 GB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.144e-05/0.09302, allocations: 52 kB / 0.5128 GB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003592/0.09338, allocations: 223.8 kB / 0.513 GB, free: 308 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.682e-05/0.09348, allocations: 123.6 kB / 0.5131 GB, free: 184 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.0937, allocations: 278.6 kB / 0.5134 GB, free: 15.9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007939/0.0945, allocations: 0.802 MB / 0.5142 GB, free: 15.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.09451, allocations: 4 kB / 0.5142 GB, free: 15.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.09452, allocations: 0 / 0.5142 GB, free: 15.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.09453, allocations: 0 / 0.5142 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.002014/0.09655, allocations: 0.9402 MB / 0.5151 GB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.0966, allocations: 8.031 kB / 0.5151 GB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/0.09955, allocations: 407.9 kB / 0.5155 GB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.1001, allocations: 353.4 kB / 0.5158 GB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.1001, allocations: 41.69 kB / 0.5159 GB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.1002, allocations: 67.88 kB / 0.5159 GB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.1014, allocations: 0.6315 MB / 0.5166 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.1014, allocations: 0 / 0.5166 GB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.098e-05/0.1015, allocations: 28 kB / 0.5166 GB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.1015, allocations: 12 kB / 0.5166 GB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.1026, allocations: 0.5712 MB / 0.5172 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.1056, allocations: 2.165 MB / 0.5193 GB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.107, allocations: 1.183 MB / 0.5204 GB, free: 8.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.1074, allocations: 192.8 kB / 0.5206 GB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.605e-05/0.1075, allocations: 93.41 kB / 0.5207 GB, free: 7.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1076, allocations: 38.55 kB / 0.5207 GB, free: 7.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.753e-06/0.1076, allocations: 0 / 0.5207 GB, free: 7.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001616/0.1092, allocations: 0.6824 MB / 0.5214 GB, free: 7.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.1092, allocations: 59.41 kB / 0.5215 GB, free: 7.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.1095, allocations: 274.5 kB / 0.5217 GB, free: 6.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.1095, allocations: 37.7 kB / 0.5218 GB, free: 6.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.1097, allocations: 236.4 kB / 0.522 GB, free: 6.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1098, allocations: 149.8 kB / 0.5221 GB, free: 6.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1099, allocations: 86.14 kB / 0.5222 GB, free: 6.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.11, allocations: 346.8 kB / 0.5225 GB, free: 6.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.1104, allocations: 159 kB / 0.5227 GB, free: 5.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003898/0.1108, allocations: 261.8 kB / 0.5229 GB, free: 5.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.1115, allocations: 429.8 kB / 0.5234 GB, free: 5.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1115, allocations: 0 / 0.5234 GB, free: 5.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001055/0.1126, allocations: 0.5257 MB / 0.5239 GB, free: 4.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1126, allocations: 4 kB / 0.5239 GB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.1126, allocations: 4 kB / 0.5239 GB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.1128, allocations: 52.83 kB / 0.5239 GB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.1133, allocations: 103.8 kB / 0.524 GB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.1147, allocations: 1.771 MB / 0.5258 GB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.115, allocations: 55.45 kB / 0.5258 GB, free: 2.426 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.1151, allocations: 16 kB / 0.5258 GB, free: 2.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004088/0.1155, allocations: 281 kB / 0.5261 GB, free: 2.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003579/0.1159, allocations: 253.6 kB / 0.5263 GB, free: 1.844 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006744/0.1165, allocations: 427.6 kB / 0.5267 GB, free: 1.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.1166, allocations: 4 kB / 0.5267 GB, free: 1.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009422/0.1175, allocations: 0.5052 MB / 0.5272 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.1175, allocations: 9.031 kB / 0.5272 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1175, allocations: 4 kB / 0.5272 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.1177, allocations: 56.83 kB / 0.5273 GB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.1181, allocations: 99.97 kB / 0.5274 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1681/0.2862, allocations: 1.756 MB / 0.5291 GB, free: 22.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.2866, allocations: 44.36 kB / 0.5292 GB, free: 22.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.2867, allocations: 17.56 kB / 0.5292 GB, free: 22.83 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.0001265/0.2868, allocations: 203.6 kB / 0.5294 GB, free: 22.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.2869, allocations: 37.91 kB / 0.5294 GB, free: 22.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.2879, allocations: 0.5074 MB / 0.5299 GB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2879, allocations: 3.891 kB / 0.5299 GB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2879, allocations: 0 / 0.5299 GB, free: 22.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.2881, allocations: 149.9 kB / 0.53 GB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.2881, allocations: 3.5 kB / 0.53 GB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.2884, allocations: 22.84 kB / 0.5301 GB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.2885, allocations: 32.58 kB / 0.5301 GB, free: 22.5 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001101/0.2896, allocations: 0.5284 MB / 0.5306 GB, free: 22.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001052/0.2907, allocations: 0.7276 MB / 0.5313 GB, free: 22.15 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000309/0.291, allocations: 173.6 kB / 0.5315 GB, free: 22.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.2911, allocations: 196.7 kB / 0.5317 GB, free: 22.07 MB / 366.1 MB Notification: Performance of Backend: time 6.31e-07/0.2911, allocations: 1.75 kB / 0.5317 GB, free: 22.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.2928, allocations: 0.9028 MB / 0.5326 GB, free: 21.77 MB / 366.1 MB Notification: Performance of SimCode: time 0.001117/0.294, allocations: 1.261 MB / 0.5338 GB, free: 20.92 MB / 366.1 MB Notification: Performance of Templates: time 0.01454/0.3085, allocations: 8.431 MB / 0.542 GB, free: 20.15 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)