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.0114/0.0114, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.408/1.408, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.001439/0.001439, allocations: 188.5 kB / 289.7 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03376/0.03376, allocations: 8.793 MB / 348.6 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 79.86 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1285, allocations: 51.56 MB / 0.5034 GB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005298/0.1338, allocations: 3.975 MB / 0.5073 GB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002825/0.1367, allocations: 1.577 MB / 0.5088 GB, free: 3.941 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.1369, allocations: 12 kB / 0.5088 GB, free: 3.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.1387, allocations: 0.7583 MB / 0.5096 GB, free: 3.168 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001085/0.1398, allocations: 0.5402 MB / 0.5101 GB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009078/0.1407, allocations: 490.1 kB / 0.5105 GB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006065/0.1413, allocations: 0.5409 MB / 0.5111 GB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007091/0.142, allocations: 0.4961 MB / 0.5116 GB, free: 1.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.1423, allocations: 247 kB / 0.5118 GB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.1427, allocations: 302.8 kB / 0.5121 GB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.551e-05/0.1428, allocations: 56 kB / 0.5121 GB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000402/0.1432, allocations: 219.8 kB / 0.5123 GB, free: 300 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.1433, allocations: 127.6 kB / 0.5125 GB, free: 172 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002314/0.1435, allocations: 274.7 kB / 0.5127 GB, free: 15.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008569/0.1444, allocations: 0.802 MB / 0.5135 GB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1444, allocations: 0 / 0.5135 GB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1444, allocations: 0 / 0.5135 GB, free: 15.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.1444, allocations: 0 / 0.5135 GB, free: 15.09 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.002002/0.1464, allocations: 0.9442 MB / 0.5144 GB, free: 14.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1465, allocations: 8.031 kB / 0.5144 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002719/0.1492, allocations: 407.9 kB / 0.5148 GB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.15, allocations: 361.3 kB / 0.5152 GB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.15, allocations: 41.69 kB / 0.5152 GB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1501, allocations: 63.94 kB / 0.5153 GB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.1515, allocations: 0.6276 MB / 0.5159 GB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.1515, allocations: 7.984 kB / 0.5159 GB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.344e-05/0.1516, allocations: 24 kB / 0.5159 GB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1516, allocations: 20 kB / 0.5159 GB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.1527, allocations: 0.5673 MB / 0.5165 GB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003234/0.1559, allocations: 2.161 MB / 0.5186 GB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.1575, allocations: 1.175 MB / 0.5198 GB, free: 8.277 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000448/0.158, allocations: 200.8 kB / 0.5199 GB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.962e-05/0.1581, allocations: 89.41 kB / 0.52 GB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.1581, allocations: 38.56 kB / 0.5201 GB, free: 7.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 2.705e-06/0.1581, allocations: 4 kB / 0.5201 GB, free: 7.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001621/0.1598, allocations: 0.6862 MB / 0.5207 GB, free: 7.207 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1598, allocations: 55.41 kB / 0.5208 GB, free: 7.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.1601, allocations: 274.5 kB / 0.5211 GB, free: 6.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.778e-05/0.1602, allocations: 37.7 kB / 0.5211 GB, free: 6.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1604, allocations: 240.4 kB / 0.5213 GB, free: 6.586 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1605, allocations: 149.8 kB / 0.5215 GB, free: 6.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.1607, allocations: 86.14 kB / 0.5215 GB, free: 6.344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1608, allocations: 346.8 kB / 0.5219 GB, free: 5.996 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.1612, allocations: 151 kB / 0.522 GB, free: 5.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003906/0.1616, allocations: 265.9 kB / 0.5223 GB, free: 5.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/0.1623, allocations: 425.8 kB / 0.5227 GB, free: 5.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1623, allocations: 4 kB / 0.5227 GB, free: 5.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001044/0.1634, allocations: 0.5176 MB / 0.5232 GB, free: 4.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1634, allocations: 8 kB / 0.5232 GB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.1634, allocations: 416 / 0.5232 GB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002511/0.1637, allocations: 60.83 kB / 0.5233 GB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.1641, allocations: 103.8 kB / 0.5234 GB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.1657, allocations: 1.763 MB / 0.5251 GB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.166, allocations: 55.47 kB / 0.5251 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.1661, allocations: 27.92 kB / 0.5252 GB, free: 2.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005064/0.1666, allocations: 273.2 kB / 0.5254 GB, free: 2.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003394/0.1669, allocations: 249.5 kB / 0.5257 GB, free: 1.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006825/0.1676, allocations: 431.6 kB / 0.5261 GB, free: 1.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.1676, allocations: 0 / 0.5261 GB, free: 1.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0009037/0.1685, allocations: 0.505 MB / 0.5266 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1686, allocations: 12.34 kB / 0.5266 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1686, allocations: 8 kB / 0.5266 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001687/0.1688, allocations: 52.83 kB / 0.5266 GB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.1692, allocations: 99.83 kB / 0.5267 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2393/0.4084, allocations: 1.754 MB / 0.5284 GB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.4089, allocations: 38.05 kB / 0.5285 GB, free: 23.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.4089, allocations: 21.27 kB / 0.5285 GB, free: 23.41 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.0001759/0.4091, allocations: 211 kB / 0.5287 GB, free: 23.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.4092, allocations: 33.47 kB / 0.5287 GB, free: 23.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009911/0.4102, allocations: 0.5089 MB / 0.5292 GB, free: 23.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.4102, allocations: 3.344 kB / 0.5292 GB, free: 23.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4102, allocations: 5.625 kB / 0.5292 GB, free: 23.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.4102, allocations: 3.281 kB / 0.5292 GB, free: 23.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.4117, allocations: 1.078 MB / 0.5303 GB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.4117, allocations: 1.109 kB / 0.5303 GB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.4121, allocations: 79.88 kB / 0.5304 GB, free: 22.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/0.4122, allocations: 53.08 kB / 0.5304 GB, free: 22.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.4123, allocations: 13.47 kB / 0.5304 GB, free: 22.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.4133, allocations: 1.756 MB / 0.5321 GB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4134, allocations: 2.188 kB / 0.5321 GB, free: 21.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.4145, allocations: 0.7477 MB / 0.5329 GB, free: 21.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.4146, allocations: 148.7 kB / 0.533 GB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.4147, allocations: 7.672 kB / 0.533 GB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.4149, allocations: 26.48 kB / 0.5331 GB, free: 21.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.376e-05/0.415, allocations: 36.42 kB / 0.5331 GB, free: 21.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.4151, allocations: 10.53 kB / 0.5331 GB, free: 21.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.4152, allocations: 193.7 kB / 0.5333 GB, free: 20.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4152, allocations: 0 / 0.5333 GB, free: 20.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008309/0.4161, allocations: 240.8 kB / 0.5335 GB, free: 20.95 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.0002014/0.4163, allocations: 133.1 kB / 0.5336 GB, free: 20.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.4177, allocations: 0.8873 MB / 0.5345 GB, free: 20.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4178, allocations: 1.531 kB / 0.5345 GB, free: 20.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.4183, allocations: 344.1 kB / 0.5348 GB, free: 20.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.4187, allocations: 41.34 kB / 0.5349 GB, free: 20.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.42, allocations: 0.8581 MB / 0.5357 GB, free: 20.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.4203, allocations: 0.8232 MB / 0.5365 GB, free: 19.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002845/0.4206, allocations: 78.42 kB / 0.5366 GB, free: 19.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.4207, allocations: 34.11 kB / 0.5366 GB, free: 19.43 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4207, allocations: 0 / 0.5366 GB, free: 19.43 MB / 366.1 MB Notification: Performance of Templates: time 0.01058/0.4313, allocations: 4.87 MB / 0.5414 GB, free: 19.16 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)