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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9683/0.9683, allocations: 177.2 MB / 200 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 152.6 kB / 256.6 MB, free: 13.03 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04991/0.04991, allocations: 6.66 MB / 319.8 MB, free: 26.55 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") translateModel(HanserModelica.Electrical.RLSeriesFrequencySweep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 391.6 MB, free: 2.617 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.399e-05, allocations: 6.312 kB / 391.6 MB, free: 2.609 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004044/0.004068, allocations: 3.939 MB / 395.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002357/0.006425, allocations: 1.6 MB / 397.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.006738, allocations: 8 kB / 397.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.00798, allocations: 0.8087 MB / 398 MB, free: 12.22 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008475/0.008827, allocations: 385.8 kB / 398.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000851/0.009678, allocations: 0.5916 MB / 399 MB, free: 11.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006818/0.01036, allocations: 0.5602 MB / 399.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007293/0.01109, allocations: 456.1 kB / 400 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004913/0.01158, allocations: 351.2 kB / 400.3 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.01187, allocations: 231.3 kB / 400.5 MB, free: 9.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.629e-05/0.01194, allocations: 56 kB / 400.6 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.01238, allocations: 231.6 kB / 400.8 MB, free: 9.387 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.891e-05/0.01245, allocations: 131.5 kB / 400.9 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.01258, allocations: 179.6 kB / 401.1 MB, free: 9.082 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00074/0.01332, allocations: 0.5761 MB / 401.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.01332, allocations: 0 / 401.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01332, allocations: 0 / 401.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.01333, allocations: 0 / 401.7 MB, free: 8.504 MB / 330.7 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.001463/0.0148, allocations: 0.9794 MB / 402.7 MB, free: 7.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.01484, allocations: 12.03 kB / 402.7 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/0.01641, allocations: 0.496 MB / 403.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.01703, allocations: 305.6 kB / 403.5 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.01707, allocations: 45.67 kB / 403.5 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.01715, allocations: 60.38 kB / 403.6 MB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/0.01787, allocations: 0.5709 MB / 404.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.01789, allocations: 0 / 404.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.01793, allocations: 24 kB / 404.2 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.01794, allocations: 16 kB / 404.2 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.01839, allocations: 335.6 kB / 404.5 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.02028, allocations: 1.774 MB / 406.3 MB, free: 3.707 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.02095, allocations: 453.7 kB / 406.7 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.02109, allocations: 111.6 kB / 406.8 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.874e-05/0.02115, allocations: 23.97 kB / 406.9 MB, free: 3.109 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.02118, allocations: 45.39 kB / 406.9 MB, free: 3.055 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.833e-06/0.02118, allocations: 0 / 406.9 MB, free: 3.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0007458/0.02193, allocations: 440.8 kB / 407.3 MB, free: 2.613 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.02195, allocations: 63.34 kB / 407.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.02209, allocations: 255 kB / 407.6 MB, free: 2.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.02212, allocations: 33.7 kB / 407.7 MB, free: 2.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.02223, allocations: 311.4 kB / 408 MB, free: 1.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.501e-05/0.02231, allocations: 155 kB / 408.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.0224, allocations: 99.78 kB / 408.2 MB, free: 1.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.02253, allocations: 0.504 MB / 408.7 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.02265, allocations: 85.64 kB / 408.8 MB, free: 1.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.02282, allocations: 228.9 kB / 409 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.02314, allocations: 341.3 kB / 409.4 MB, free: 396 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.02315, allocations: 0 / 409.4 MB, free: 396 kB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.122/0.1452, allocations: 404.7 kB / 409.8 MB, free: 75.74 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.1452, allocations: 6.125 kB / 409.8 MB, free: 75.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.1452, allocations: 6.656 kB / 409.8 MB, free: 75.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/0.1455, allocations: 62.94 kB / 409.8 MB, free: 75.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.1458, allocations: 95.66 kB / 409.9 MB, free: 75.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.147, allocations: 2.142 MB / 412.1 MB, free: 73.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.1473, allocations: 40.45 kB / 412.1 MB, free: 73.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.1474, allocations: 22.61 kB / 412.1 MB, free: 73.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003281/0.1477, allocations: 210.5 kB / 412.4 MB, free: 73.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002886/0.148, allocations: 221.8 kB / 412.6 MB, free: 73.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000458/0.1485, allocations: 335.5 kB / 412.9 MB, free: 73.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.06e-06/0.1485, allocations: 5.125 kB / 412.9 MB, free: 73.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005798/0.1491, allocations: 401.9 kB / 413.3 MB, free: 73.29 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1491, allocations: 8.547 kB / 413.3 MB, free: 73.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1491, allocations: 3.625 kB / 413.3 MB, free: 73.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.1493, allocations: 68.44 kB / 413.4 MB, free: 73.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.1495, allocations: 96.7 kB / 413.5 MB, free: 73.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009163/0.1504, allocations: 2.135 MB / 415.6 MB, free: 71.33 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.1506, allocations: 43.05 kB / 415.6 MB, free: 71.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.1506, allocations: 21.23 kB / 415.7 MB, free: 71.33 MB / 330.7 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.0001263/0.1507, allocations: 297.6 kB / 416 MB, free: 71.06 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.174e-05/0.1508, allocations: 42.41 kB / 416 MB, free: 71.05 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/0.1514, allocations: 385.1 kB / 416.4 MB, free: 70.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1514, allocations: 4.469 kB / 416.4 MB, free: 70.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1514, allocations: 1.859 kB / 416.4 MB, free: 70.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1514, allocations: 3.766 kB / 416.4 MB, free: 70.99 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009839/0.1524, allocations: 0.8587 MB / 417.2 MB, free: 70.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1524, allocations: 2.344 kB / 417.2 MB, free: 70.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.1526, allocations: 74.78 kB / 417.3 MB, free: 70.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001618/0.1528, allocations: 65.7 kB / 417.4 MB, free: 70.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.1528, allocations: 8.797 kB / 417.4 MB, free: 70.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008266/0.1536, allocations: 2.134 MB / 419.5 MB, free: 68.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1536, allocations: 3.844 kB / 419.5 MB, free: 68.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.1543, allocations: 0.5718 MB / 420.1 MB, free: 68.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.1544, allocations: 65.09 kB / 420.2 MB, free: 68.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.1544, allocations: 11.19 kB / 420.2 MB, free: 68.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.1545, allocations: 18.81 kB / 420.2 MB, free: 68.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.361e-05/0.1546, allocations: 32.77 kB / 420.2 MB, free: 68.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.1546, allocations: 12.28 kB / 420.2 MB, free: 68.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.203e-05/0.1547, allocations: 168 kB / 420.4 MB, free: 68.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1547, allocations: 0.625 kB / 420.4 MB, free: 68.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007481/0.1555, allocations: 267.8 kB / 420.7 MB, free: 68.3 MB / 330.7 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.0002151/0.1557, allocations: 134.7 kB / 420.8 MB, free: 68.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009574/0.1567, allocations: 0.8116 MB / 421.6 MB, free: 67.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1567, allocations: 0 / 421.6 MB, free: 67.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.1569, allocations: 345.5 kB / 421.9 MB, free: 67.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1572, allocations: 43.88 kB / 422 MB, free: 67.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.1587, allocations: 0.7773 MB / 422.8 MB, free: 67.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.1588, allocations: 120.3 kB / 422.9 MB, free: 67.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002059/0.159, allocations: 63.31 kB / 422.9 MB, free: 67.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.606e-05/0.1591, allocations: 41.11 kB / 423 MB, free: 67.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1591, allocations: 0.875 kB / 423 MB, free: 67.14 MB / 330.7 MB Notification: Performance of Templates: time 0.009017/0.1681, allocations: 4.554 MB / 427.5 MB, free: 66.72 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.RLSeriesFrequencySweep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2864437070675194]