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.001764/0.001765, allocations: 107.8 kB / 16.41 MB, free: 6.465 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.435/1.435, allocations: 222.9 MB / 240.1 MB, free: 4.355 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.00153/0.00153, allocations: 184.5 kB / 290.4 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03624/0.03624, allocations: 8.788 MB / 349.3 MB, free: 4.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 75.88 kB / 464.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1153, allocations: 51.57 MB / 0.504 GB, free: 9.426 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.00598/0.1213, allocations: 3.971 MB / 0.5079 GB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003178/0.1246, allocations: 1.569 MB / 0.5095 GB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.1252, allocations: 15.94 kB / 0.5095 GB, free: 3.844 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002196/0.1274, allocations: 0.7681 MB / 0.5102 GB, free: 3.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.1291, allocations: 0.5285 MB / 0.5107 GB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.1303, allocations: 495.9 kB / 0.5112 GB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.1314, allocations: 0.537 MB / 0.5117 GB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009603/0.1323, allocations: 0.5038 MB / 0.5122 GB, free: 1.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004665/0.1328, allocations: 247.1 kB / 0.5125 GB, free: 0.7695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.1333, allocations: 302.8 kB / 0.5128 GB, free: 484 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.1334, allocations: 52 kB / 0.5128 GB, free: 432 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006197/0.1341, allocations: 227.8 kB / 0.513 GB, free: 204 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1342, allocations: 127.5 kB / 0.5131 GB, free: 76 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003716/0.1346, allocations: 266.7 kB / 0.5134 GB, free: 15.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.1359, allocations: 0.806 MB / 0.5142 GB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1359, allocations: 0 / 0.5142 GB, free: 15 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1359, allocations: 0 / 0.5142 GB, free: 15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.484e-05/0.1359, allocations: 0 / 0.5142 GB, free: 15 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.002463/0.1384, allocations: 0.9403 MB / 0.5151 GB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.1384, allocations: 8.031 kB / 0.5151 GB, free: 14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002793/0.1412, allocations: 407.9 kB / 0.5155 GB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008384/0.1421, allocations: 357.3 kB / 0.5158 GB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.1421, allocations: 45.69 kB / 0.5159 GB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.1423, allocations: 63.94 kB / 0.5159 GB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.1437, allocations: 0.6276 MB / 0.5166 GB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.1437, allocations: 0 / 0.5166 GB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.404e-05/0.1438, allocations: 32 kB / 0.5166 GB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.1438, allocations: 12 kB / 0.5166 GB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.1452, allocations: 0.5751 MB / 0.5172 GB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.1491, allocations: 2.161 MB / 0.5193 GB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.1507, allocations: 1.173 MB / 0.5204 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.1511, allocations: 200.7 kB / 0.5206 GB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.861e-05/0.1512, allocations: 93.39 kB / 0.5207 GB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1513, allocations: 38.56 kB / 0.5207 GB, free: 7.836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.224e-06/0.1513, allocations: 0 / 0.5207 GB, free: 7.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001651/0.1529, allocations: 0.6824 MB / 0.5214 GB, free: 7.125 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.153, allocations: 59.39 kB / 0.5215 GB, free: 7.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.1533, allocations: 274.5 kB / 0.5217 GB, free: 6.785 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.1534, allocations: 33.7 kB / 0.5217 GB, free: 6.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1535, allocations: 244.4 kB / 0.522 GB, free: 6.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.1537, allocations: 149.8 kB / 0.5221 GB, free: 6.352 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1538, allocations: 82.16 kB / 0.5222 GB, free: 6.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.154, allocations: 354.7 kB / 0.5225 GB, free: 5.906 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.1543, allocations: 151 kB / 0.5227 GB, free: 5.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.1547, allocations: 261.8 kB / 0.5229 GB, free: 5.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/0.1555, allocations: 433.8 kB / 0.5233 GB, free: 4.988 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1555, allocations: 0 / 0.5233 GB, free: 4.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00106/0.1566, allocations: 0.5215 MB / 0.5239 GB, free: 4.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1566, allocations: 4.406 kB / 0.5239 GB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1566, allocations: 8 kB / 0.5239 GB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002592/0.1569, allocations: 56.83 kB / 0.5239 GB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.1573, allocations: 107.8 kB / 0.524 GB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.159, allocations: 1.751 MB / 0.5257 GB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.1594, allocations: 59.5 kB / 0.5258 GB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.1594, allocations: 27.98 kB / 0.5258 GB, free: 2.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004441/0.1599, allocations: 273.1 kB / 0.5261 GB, free: 2.035 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003853/0.1603, allocations: 256.8 kB / 0.5263 GB, free: 1.746 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006887/0.161, allocations: 427.6 kB / 0.5267 GB, free: 1.285 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.046e-06/0.161, allocations: 4 kB / 0.5267 GB, free: 1.281 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009797/0.162, allocations: 0.5054 MB / 0.5272 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.162, allocations: 11.94 kB / 0.5272 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.162, allocations: 0 / 0.5272 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001785/0.1622, allocations: 56.83 kB / 0.5273 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.1626, allocations: 99.83 kB / 0.5274 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2415/0.4042, allocations: 1.755 MB / 0.5291 GB, free: 22.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003815/0.4046, allocations: 42.22 kB / 0.5291 GB, free: 22.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.4046, allocations: 21.41 kB / 0.5292 GB, free: 22.69 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.0001473/0.4048, allocations: 204.4 kB / 0.5294 GB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.993e-05/0.4048, allocations: 31.38 kB / 0.5294 GB, free: 22.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.4059, allocations: 0.5086 MB / 0.5299 GB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4059, allocations: 3.688 kB / 0.5299 GB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.4059, allocations: 2.344 kB / 0.5299 GB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4059, allocations: 1.875 kB / 0.5299 GB, free: 22.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.4074, allocations: 1.084 MB / 0.531 GB, free: 22.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4074, allocations: 2.078 kB / 0.531 GB, free: 22.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.4077, allocations: 77.61 kB / 0.531 GB, free: 22.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.4079, allocations: 49.44 kB / 0.5311 GB, free: 22.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.795e-05/0.408, allocations: 17.44 kB / 0.5311 GB, free: 22.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.409, allocations: 1.757 MB / 0.5328 GB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4091, allocations: 3.469 kB / 0.5328 GB, free: 20.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.4102, allocations: 0.7482 MB / 0.5335 GB, free: 20.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.4104, allocations: 150.2 kB / 0.5337 GB, free: 20.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.4104, allocations: 6.938 kB / 0.5337 GB, free: 20.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.4107, allocations: 22.64 kB / 0.5337 GB, free: 20.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.4108, allocations: 32.27 kB / 0.5337 GB, free: 20.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.4108, allocations: 14 kB / 0.5338 GB, free: 20.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.411, allocations: 195.8 kB / 0.5339 GB, free: 20.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.411, allocations: 0 / 0.5339 GB, free: 20.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008506/0.4119, allocations: 236.1 kB / 0.5342 GB, free: 20.23 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.0002064/0.4121, allocations: 134.3 kB / 0.5343 GB, free: 20.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.4136, allocations: 0.888 MB / 0.5352 GB, free: 19.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4136, allocations: 0 / 0.5352 GB, free: 19.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.4142, allocations: 341.2 kB / 0.5355 GB, free: 19.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.4146, allocations: 43.12 kB / 0.5355 GB, free: 19.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.4161, allocations: 0.8869 MB / 0.5364 GB, free: 19.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.4165, allocations: 0.8253 MB / 0.5372 GB, free: 18.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4167, allocations: 47.59 kB / 0.5373 GB, free: 18.7 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4167, allocations: 3.844 kB / 0.5373 GB, free: 18.7 MB / 366.1 MB Notification: Performance of Templates: time 0.01244/0.4291, allocations: 7.288 MB / 0.5444 GB, free: 18.03 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)