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.001119/0.001119, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.487/1.487, allocations: 223.3 MB / 239.4 MB, free: 5.414 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.001011/0.001011, allocations: 180.5 kB / 290.6 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03336/0.03336, allocations: 8.794 MB / 350.5 MB, free: 4.594 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.000383, allocations: 14.19 kB / 413.8 MB, free: 42.7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 52.55 MB / 466.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.005076/0.114, allocations: 3.57 MB / 469.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.1171, allocations: 1.539 MB / 471.5 MB, free: 7.992 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.1174, allocations: 12 kB / 471.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004738/0.1179, allocations: 179.2 kB / 471.7 MB, free: 7.805 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.1189, allocations: 496.9 kB / 472.1 MB, free: 7.32 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009294/0.1199, allocations: 451.9 kB / 472.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005883/0.1205, allocations: 0.5058 MB / 473.1 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.1218, allocations: 0.8171 MB / 473.9 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003127/0.1222, allocations: 191.1 kB / 474.1 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.1225, allocations: 254.8 kB / 474.3 MB, free: 5.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/0.1225, allocations: 24 kB / 474.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.123, allocations: 191.8 kB / 474.6 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.579e-05/0.1231, allocations: 91.55 kB / 474.6 MB, free: 4.801 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.1233, allocations: 252.4 kB / 474.9 MB, free: 4.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.1241, allocations: 0.7591 MB / 475.6 MB, free: 3.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.1241, allocations: 4 kB / 475.7 MB, free: 3.781 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1241, allocations: 3.938 kB / 475.7 MB, free: 3.777 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1241, allocations: 0 / 475.7 MB, free: 3.777 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.001952/0.1261, allocations: 0.8505 MB / 476.5 MB, free: 2.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1261, allocations: 8.031 kB / 476.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002629/0.1288, allocations: 415.9 kB / 476.9 MB, free: 2.461 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005136/0.1293, allocations: 357.3 kB / 477.3 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.208e-05/0.1293, allocations: 45.69 kB / 477.3 MB, free: 2.031 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.1294, allocations: 63.94 kB / 477.4 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.1306, allocations: 0.6393 MB / 478 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.1306, allocations: 0 / 478 MB, free: 1.316 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.1307, allocations: 31.94 kB / 478 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.713e-05/0.1307, allocations: 25.3 kB / 478.1 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/0.1318, allocations: 0.5829 MB / 478.7 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.1348, allocations: 2.185 MB / 480.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.1363, allocations: 1.184 MB / 482 MB, free: 12.99 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.1367, allocations: 204.8 kB / 482.2 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.108e-05/0.1368, allocations: 93.41 kB / 482.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.1368, allocations: 34.56 kB / 482.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.1368, allocations: 0 / 482.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001595/0.1384, allocations: 0.7135 MB / 483.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1385, allocations: 55.41 kB / 483.1 MB, free: 11.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002704/0.1387, allocations: 266.6 kB / 483.4 MB, free: 11.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.1388, allocations: 37.64 kB / 483.4 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.1389, allocations: 244.3 kB / 483.7 MB, free: 11.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.139, allocations: 153.8 kB / 483.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.1391, allocations: 45.69 kB / 483.8 MB, free: 11.06 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1392, allocations: 342.8 kB / 484.2 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.1396, allocations: 145 kB / 484.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.14, allocations: 265.9 kB / 484.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.1407, allocations: 445.8 kB / 485 MB, free: 9.789 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1408, allocations: 4 kB / 485 MB, free: 9.785 MB / 318.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009813/0.1417, allocations: 0.5335 MB / 485.6 MB, free: 9.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.1419, allocations: 176.3 kB / 485.7 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.1419, allocations: 11.92 kB / 485.7 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002442/0.1421, allocations: 60.77 kB / 485.8 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.1425, allocations: 95.89 kB / 485.9 MB, free: 8.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.1439, allocations: 1.584 MB / 487.5 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.1443, allocations: 67.42 kB / 487.5 MB, free: 7.074 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.1443, allocations: 19.94 kB / 487.6 MB, free: 7.055 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1444, allocations: 5.719 kB / 487.6 MB, free: 7.051 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008732/0.1452, allocations: 484 kB / 488 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.1452, allocations: 4 kB / 488 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.1454, allocations: 49.14 kB / 488.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.1458, allocations: 103.8 kB / 488.2 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.1469, allocations: 1.519 MB / 489.7 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.1472, allocations: 51.52 kB / 489.8 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.1473, allocations: 20 kB / 489.8 MB, free: 4.695 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.0002594/0.1475, allocations: 257.6 kB / 490 MB, free: 4.434 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.338e-05/0.1476, allocations: 39.62 kB / 490.1 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.1487, allocations: 0.5044 MB / 490.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1487, allocations: 4 kB / 490.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.1487, allocations: 0 / 490.6 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.1487, allocations: 15.91 kB / 490.6 MB, free: 3.863 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.1502, allocations: 1.095 MB / 491.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1503, allocations: 3.938 kB / 491.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.1506, allocations: 79.89 kB / 491.8 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/0.1508, allocations: 48.83 kB / 491.8 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.1508, allocations: 12 kB / 491.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001237/0.1521, allocations: 1.588 MB / 493.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1521, allocations: 64 / 493.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.1533, allocations: 0.7646 MB / 494.2 MB, free: 56 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.1535, allocations: 144.7 kB / 494.3 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.1535, allocations: 12 kB / 494.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.1538, allocations: 23.92 kB / 494.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.1539, allocations: 28.39 kB / 494.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.1539, allocations: 20.06 kB / 494.4 MB, free: 15.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.1541, allocations: 194 kB / 494.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1541, allocations: 0 / 494.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007726/0.1549, allocations: 239.1 kB / 494.8 MB, free: 15.39 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.0002159/0.1551, allocations: 135.7 kB / 495 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00151/0.1566, allocations: 0.9063 MB / 495.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.1566, allocations: 0 / 495.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.1571, allocations: 345.6 kB / 496.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.1576, allocations: 44.55 kB / 496.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.1591, allocations: 1.141 MB / 497.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1594, allocations: 0.8212 MB / 498.2 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003494/0.1598, allocations: 75.23 kB / 498.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.715e-05/0.1599, allocations: 35.44 kB / 498.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1599, allocations: 0 / 498.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Templates: time 0.008655/0.1685, allocations: 4.559 MB / 0.4911 GB, free: 7.258 MB / 334.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: