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.001125/0.001125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.39/1.39, allocations: 222.9 MB / 239 MB, free: 4.648 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.001239/0.001239, allocations: 192.4 kB / 289.3 MB, free: 2.391 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03349/0.03349, allocations: 8.797 MB / 348.2 MB, free: 4.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.001751, allocations: 74.89 kB / 410.6 MB, free: 42.3 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1133, allocations: 51.56 MB / 462.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005726/0.1191, allocations: 3.982 MB / 466.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.1221, allocations: 1.558 MB / 467.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.1226, allocations: 12 kB / 467.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001913/0.1245, allocations: 0.7217 MB / 468.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.1259, allocations: 492.7 kB / 468.9 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009352/0.1268, allocations: 437.6 kB / 469.3 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006313/0.1275, allocations: 0.5448 MB / 469.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008221/0.1283, allocations: 0.5587 MB / 470.4 MB, free: 6.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.1287, allocations: 235.1 kB / 470.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.129, allocations: 314.8 kB / 471 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/0.1291, allocations: 52 kB / 471 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.1297, allocations: 227.8 kB / 471.2 MB, free: 5.602 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1298, allocations: 123.6 kB / 471.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.1301, allocations: 270.7 kB / 471.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00095/0.1311, allocations: 0.7944 MB / 472.4 MB, free: 4.418 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1311, allocations: 4 kB / 472.4 MB, free: 4.414 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1311, allocations: 0 / 472.4 MB, free: 4.414 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.1311, allocations: 0 / 472.4 MB, free: 4.414 MB / 302.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.002062/0.1332, allocations: 0.9596 MB / 473.4 MB, free: 3.402 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.1332, allocations: 20.02 kB / 473.4 MB, free: 3.383 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002517/0.1358, allocations: 399.9 kB / 473.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005318/0.1363, allocations: 355 kB / 474.1 MB, free: 2.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.1364, allocations: 45.69 kB / 474.2 MB, free: 2.566 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.064e-05/0.1365, allocations: 59.94 kB / 474.2 MB, free: 2.508 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.1376, allocations: 0.6432 MB / 474.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.1377, allocations: 0 / 474.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/0.1377, allocations: 28 kB / 474.9 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.1378, allocations: 21.3 kB / 474.9 MB, free: 1.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1389, allocations: 0.5712 MB / 475.5 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.1419, allocations: 2.185 MB / 477.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.1435, allocations: 1.184 MB / 478.9 MB, free: 13.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.1439, allocations: 196.8 kB / 479.1 MB, free: 13.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.735e-05/0.1441, allocations: 89.11 kB / 479.1 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.1441, allocations: 34.55 kB / 479.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 3.637e-06/0.1441, allocations: 3.984 kB / 479.2 MB, free: 13.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001661/0.1458, allocations: 0.6863 MB / 479.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1458, allocations: 55.41 kB / 479.9 MB, free: 12.42 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.1461, allocations: 274.5 kB / 480.2 MB, free: 12.14 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.1461, allocations: 33.7 kB / 480.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1463, allocations: 240.3 kB / 480.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1464, allocations: 154.1 kB / 480.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.1465, allocations: 86.23 kB / 480.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1466, allocations: 338.8 kB / 481 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003143/0.147, allocations: 163 kB / 481.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/0.1473, allocations: 253.9 kB / 481.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006759/0.148, allocations: 429.8 kB / 481.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.148, allocations: 0 / 481.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001015/0.1491, allocations: 0.5257 MB / 482.4 MB, free: 9.828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1491, allocations: 6.188 kB / 482.4 MB, free: 9.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.1491, allocations: 4 kB / 482.4 MB, free: 9.82 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002619/0.1494, allocations: 56.83 kB / 482.4 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.1498, allocations: 111.9 kB / 482.5 MB, free: 9.652 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.1514, allocations: 1.759 MB / 484.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.1518, allocations: 67.3 kB / 484.4 MB, free: 7.688 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.534e-05/0.1518, allocations: 23.94 kB / 484.4 MB, free: 7.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004428/0.1523, allocations: 269.9 kB / 484.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003474/0.1526, allocations: 245.6 kB / 484.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006388/0.1533, allocations: 431.6 kB / 485.3 MB, free: 6.652 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.833e-06/0.1533, allocations: 3.938 kB / 485.3 MB, free: 6.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.000923/0.1542, allocations: 0.5051 MB / 485.8 MB, free: 6.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.1543, allocations: 11.94 kB / 485.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1543, allocations: 416 / 485.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000174/0.1545, allocations: 60.77 kB / 485.9 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.1548, allocations: 99.88 kB / 486 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.1562, allocations: 1.759 MB / 487.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.1565, allocations: 47.58 kB / 487.8 MB, free: 4.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.1566, allocations: 19.98 kB / 487.8 MB, free: 3.996 MB / 318.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.0001861/0.1568, allocations: 208.1 kB / 488 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.1568, allocations: 35.56 kB / 488.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.1579, allocations: 0.4928 MB / 488.6 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.1579, allocations: 8 kB / 488.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1579, allocations: 0 / 488.6 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.158, allocations: 3.984 kB / 488.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/0.1596, allocations: 1.087 MB / 489.7 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.1596, allocations: 7.984 kB / 489.7 MB, free: 2.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.16, allocations: 75.89 kB / 489.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.1602, allocations: 52.83 kB / 489.8 MB, free: 1.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.1602, allocations: 12 kB / 489.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.1618, allocations: 1.759 MB / 491.6 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1618, allocations: 0 / 491.6 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.1631, allocations: 0.7451 MB / 492.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.1633, allocations: 152.5 kB / 492.5 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.688e-05/0.1633, allocations: 11.94 kB / 492.5 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.1636, allocations: 23.92 kB / 492.5 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.364e-05/0.1637, allocations: 32.39 kB / 492.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.1637, allocations: 15.98 kB / 492.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.1639, allocations: 190 kB / 492.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1639, allocations: 8.062 kB / 492.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008921/0.1648, allocations: 235.1 kB / 493 MB, free: 14.61 MB / 334.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.0002411/0.1651, allocations: 127.2 kB / 493.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.1669, allocations: 0.9103 MB / 494 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1669, allocations: 0 / 494 MB, free: 13.53 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.1674, allocations: 341.6 kB / 494.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.1679, allocations: 50.31 kB / 494.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1694, allocations: 1.071 MB / 495.4 MB, free: 12.04 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1698, allocations: 0.8249 MB / 496.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003488/0.1702, allocations: 71.23 kB / 496.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.1703, allocations: 35.44 kB / 496.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1703, allocations: 4 kB / 496.4 MB, free: 11.08 MB / 334.1 MB Notification: Performance of Templates: time 0.008734/0.179, allocations: 4.777 MB / 0.4894 GB, free: 6.32 MB / 334.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)