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.001021/0.001021, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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 1.045/1.045, allocations: 177.2 MB / 201 MB, free: 5.711 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.001962/0.001962, allocations: 156.7 kB / 257.7 MB, free: 12.98 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.02426/0.02426, allocations: 6.666 MB / 320.9 MB, free: 26.35 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.713e-06/1.713e-06, allocations: 0 / 392.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.46e-05, allocations: 6.25 kB / 392.9 MB, free: 2.273 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.004272/0.004297, allocations: 3.889 MB / 396.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001951/0.006248, allocations: 1.584 MB / 398.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.006435, allocations: 12 kB / 398.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.007456, allocations: 0.7969 MB / 399.2 MB, free: 11.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005877/0.008044, allocations: 365.8 kB / 399.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006703/0.008714, allocations: 0.5916 MB / 400.1 MB, free: 11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.009191, allocations: 0.5524 MB / 400.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007576/0.009949, allocations: 452.1 kB / 401.1 MB, free: 10 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003334/0.01028, allocations: 363.1 kB / 401.4 MB, free: 9.648 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.0105, allocations: 223.3 kB / 401.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.446e-05/0.01055, allocations: 60 kB / 401.7 MB, free: 9.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.01087, allocations: 223.6 kB / 401.9 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.01094, allocations: 127.5 kB / 402.1 MB, free: 9.027 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.01106, allocations: 179.5 kB / 402.2 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005439/0.0116, allocations: 0.5566 MB / 402.8 MB, free: 8.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.0116, allocations: 0 / 402.8 MB, free: 8.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01161, allocations: 0 / 402.8 MB, free: 8.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.01161, allocations: 0 / 402.8 MB, free: 8.293 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.001201/0.01281, allocations: 0.9832 MB / 403.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.01285, allocations: 8.031 kB / 403.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.01434, allocations: 0.4999 MB / 404.3 MB, free: 6.766 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.01466, allocations: 296.3 kB / 404.6 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.01469, allocations: 41.69 kB / 404.6 MB, free: 6.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.361e-05/0.01475, allocations: 64.38 kB / 404.7 MB, free: 6.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004751/0.01523, allocations: 405.1 kB / 405.1 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.01525, allocations: 3.938 kB / 405.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.01528, allocations: 28 kB / 405.1 MB, free: 5.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.377e-06/0.01529, allocations: 12 kB / 405.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.01562, allocations: 274.2 kB / 405.4 MB, free: 5.621 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.01749, allocations: 1.785 MB / 407.2 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005973/0.01808, allocations: 410.1 kB / 407.6 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.01819, allocations: 99.61 kB / 407.7 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.045e-05/0.01825, allocations: 27.92 kB / 407.7 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.01827, allocations: 41.38 kB / 407.7 MB, free: 3.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.773e-06/0.01828, allocations: 4 kB / 407.7 MB, free: 3.133 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009365/0.01921, allocations: 384.8 kB / 408.1 MB, free: 2.746 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.01924, allocations: 59.41 kB / 408.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.01938, allocations: 258.9 kB / 408.4 MB, free: 2.406 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.0194, allocations: 29.7 kB / 408.5 MB, free: 2.371 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.01955, allocations: 319.4 kB / 408.8 MB, free: 2.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.506e-05/0.01963, allocations: 150.6 kB / 408.9 MB, free: 1.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01973, allocations: 103.8 kB / 409 MB, free: 1.797 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.01989, allocations: 0.5118 MB / 409.5 MB, free: 1.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.01998, allocations: 65.64 kB / 409.6 MB, free: 1.203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.02015, allocations: 216.8 kB / 409.8 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.02043, allocations: 305.3 kB / 410.1 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.02043, allocations: 0 / 410.1 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004202/0.02085, allocations: 365.4 kB / 410.5 MB, free: 212 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.02087, allocations: 8 kB / 410.5 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.02087, allocations: 4 kB / 410.5 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.02107, allocations: 63.75 kB / 410.5 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.02128, allocations: 99.83 kB / 410.6 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.13/0.1513, allocations: 2.104 MB / 412.7 MB, free: 73.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000264/0.1516, allocations: 44.41 kB / 412.8 MB, free: 73.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.1516, allocations: 18.02 kB / 412.8 MB, free: 73.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001958/0.1518, allocations: 196.5 kB / 413 MB, free: 73.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001413/0.1519, allocations: 212.1 kB / 413.2 MB, free: 73.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002617/0.1522, allocations: 303.1 kB / 413.5 MB, free: 73.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.897e-06/0.1522, allocations: 1.438 kB / 413.5 MB, free: 73.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005041/0.1527, allocations: 363.2 kB / 413.9 MB, free: 73.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.1527, allocations: 7.547 kB / 413.9 MB, free: 73.42 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1527, allocations: 3.438 kB / 413.9 MB, free: 73.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001647/0.1529, allocations: 65.28 kB / 413.9 MB, free: 73.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.1531, allocations: 92.48 kB / 414 MB, free: 73.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007699/0.1539, allocations: 2.108 MB / 416.1 MB, free: 71.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.154, allocations: 38.14 kB / 416.2 MB, free: 71.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/0.154, allocations: 18.98 kB / 416.2 MB, free: 71.49 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.0001153/0.1541, allocations: 295 kB / 416.5 MB, free: 71.22 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.1542, allocations: 45.2 kB / 416.5 MB, free: 71.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004752/0.1547, allocations: 346.1 kB / 416.9 MB, free: 71.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1547, allocations: 5.219 kB / 416.9 MB, free: 71.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1547, allocations: 1.656 kB / 416.9 MB, free: 71.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1547, allocations: 2.844 kB / 416.9 MB, free: 71.15 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008646/0.1556, allocations: 0.7697 MB / 417.6 MB, free: 70.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.1556, allocations: 0.7656 kB / 417.6 MB, free: 70.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.1558, allocations: 78.98 kB / 417.7 MB, free: 70.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001772/0.156, allocations: 63.27 kB / 417.8 MB, free: 70.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.156, allocations: 13.47 kB / 417.8 MB, free: 70.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009215/0.1569, allocations: 2.098 MB / 419.9 MB, free: 68.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1569, allocations: 1.094 kB / 419.9 MB, free: 68.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.1575, allocations: 0.5201 MB / 420.4 MB, free: 68.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.1576, allocations: 69.38 kB / 420.5 MB, free: 68.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.1576, allocations: 9.781 kB / 420.5 MB, free: 68.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1577, allocations: 15.22 kB / 420.5 MB, free: 68.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.1578, allocations: 35.88 kB / 420.5 MB, free: 68.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1578, allocations: 15.19 kB / 420.5 MB, free: 68.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.335e-05/0.1579, allocations: 168.3 kB / 420.7 MB, free: 68.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1579, allocations: 0 / 420.7 MB, free: 68.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007022/0.1586, allocations: 256.9 kB / 421 MB, free: 68.5 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.0001752/0.1588, allocations: 142.9 kB / 421.1 MB, free: 68.42 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007231/0.1595, allocations: 0.7669 MB / 421.9 MB, free: 68.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1595, allocations: 1.094 kB / 421.9 MB, free: 68.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.1597, allocations: 323.2 kB / 422.2 MB, free: 67.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.16, allocations: 42.94 kB / 422.2 MB, free: 67.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1611, allocations: 0.7626 MB / 423 MB, free: 67.47 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.904e-05/0.1612, allocations: 118 kB / 423.1 MB, free: 67.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.1614, allocations: 67.98 kB / 423.2 MB, free: 67.39 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/0.1615, allocations: 125.5 kB / 423.3 MB, free: 67.32 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1615, allocations: 4.906 kB / 423.3 MB, free: 67.32 MB / 330.7 MB Notification: Performance of Templates: time 0.009021/0.1706, allocations: 5.13 MB / 428.4 MB, free: 66.79 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.1414355197921395]