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.001088/0.001088, 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 1.008/1.008, allocations: 177.2 MB / 200 MB, free: 5.488 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.001293/0.001293, allocations: 164.7 kB / 256.6 MB, free: 12.97 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.02302/0.02302, allocations: 6.661 MB / 319.8 MB, free: 26.53 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.954e-06/1.954e-06, allocations: 0 / 391.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.227e-05, allocations: 5.969 kB / 391.6 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.RLSeriesFrequencySweep): time 0.003968/0.00399, allocations: 3.936 MB / 395.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002553/0.006543, allocations: 1.592 MB / 397.2 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.006799, allocations: 19.94 kB / 397.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.008301, allocations: 0.8087 MB / 398 MB, free: 12.2 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006889/0.00899, allocations: 385.7 kB / 398.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008464/0.009836, allocations: 0.6033 MB / 399 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006741/0.01051, allocations: 0.5563 MB / 399.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.0142, allocations: 452.1 kB / 400 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004268/0.01463, allocations: 363.1 kB / 400.3 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.01488, allocations: 227.4 kB / 400.5 MB, free: 9.637 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.01495, allocations: 52 kB / 400.6 MB, free: 9.586 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004023/0.01535, allocations: 223.7 kB / 400.8 MB, free: 9.367 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.75e-05/0.01543, allocations: 127.5 kB / 400.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.01557, allocations: 175.5 kB / 401.1 MB, free: 9.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006736/0.01625, allocations: 0.5683 MB / 401.7 MB, free: 8.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.01625, allocations: 0 / 401.7 MB, free: 8.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01625, allocations: 0 / 401.7 MB, free: 8.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.01626, allocations: 0 / 401.7 MB, free: 8.5 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.004603/0.02086, allocations: 0.9755 MB / 402.6 MB, free: 7.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.0209, allocations: 8.031 kB / 402.7 MB, free: 7.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005138/0.02604, allocations: 0.4999 MB / 403.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004018/0.02644, allocations: 288.3 kB / 403.4 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.02648, allocations: 45.69 kB / 403.5 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/0.02656, allocations: 60.38 kB / 403.5 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.02728, allocations: 457.1 kB / 404 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.0273, allocations: 3.984 kB / 404 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.591e-05/0.02735, allocations: 24 kB / 404 MB, free: 6.078 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.02736, allocations: 16 kB / 404 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.02796, allocations: 327.6 kB / 404.4 MB, free: 5.742 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005478/0.03344, allocations: 1.782 MB / 406.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007995/0.03424, allocations: 445.7 kB / 406.6 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.03441, allocations: 115.2 kB / 406.7 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.451e-05/0.03448, allocations: 27.98 kB / 406.7 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.0345, allocations: 37.39 kB / 406.7 MB, free: 3.219 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.145e-06/0.0345, allocations: 0 / 406.7 MB, free: 3.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.003939/0.03844, allocations: 444.8 kB / 407.2 MB, free: 2.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.853e-05/0.03847, allocations: 55.41 kB / 407.2 MB, free: 2.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.03865, allocations: 258.9 kB / 407.5 MB, free: 2.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.03868, allocations: 41.69 kB / 407.5 MB, free: 2.391 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.03881, allocations: 303.7 kB / 407.8 MB, free: 2.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.772e-05/0.03891, allocations: 158.6 kB / 408 MB, free: 1.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.03902, allocations: 91.8 kB / 408.1 MB, free: 1.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.03916, allocations: 0.5079 MB / 408.6 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.03931, allocations: 93.62 kB / 408.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.03953, allocations: 224.9 kB / 408.9 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004011/0.03993, allocations: 341.3 kB / 409.2 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.03994, allocations: 0 / 409.2 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000603/0.04054, allocations: 405.3 kB / 409.6 MB, free: 144 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003031/0.04357, allocations: 8 kB / 409.6 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.04358, allocations: 4 kB / 409.6 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.04383, allocations: 67.64 kB / 409.7 MB, free: 60 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1584/0.2023, allocations: 94.78 kB / 409.8 MB, free: 75.74 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.2035, allocations: 2.138 MB / 411.9 MB, free: 73.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.2038, allocations: 44.81 kB / 412 MB, free: 73.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.2038, allocations: 22.25 kB / 412 MB, free: 73.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002499/0.2041, allocations: 211.2 kB / 412.2 MB, free: 73.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000182/0.2043, allocations: 222.8 kB / 412.4 MB, free: 73.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003412/0.2046, allocations: 339 kB / 412.7 MB, free: 73.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.2046, allocations: 0 / 412.7 MB, free: 73.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0005495/0.2052, allocations: 400.4 kB / 413.1 MB, free: 73.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2052, allocations: 7.281 kB / 413.1 MB, free: 73.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2052, allocations: 3.469 kB / 413.1 MB, free: 73.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.2054, allocations: 66.73 kB / 413.2 MB, free: 73.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.2056, allocations: 94.23 kB / 413.3 MB, free: 73.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000783/0.2064, allocations: 2.144 MB / 415.4 MB, free: 71.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.2065, allocations: 36.92 kB / 415.5 MB, free: 71.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.2065, allocations: 21.17 kB / 415.5 MB, free: 71.34 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.0001203/0.2067, allocations: 299.3 kB / 415.8 MB, free: 71.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.2067, allocations: 45.75 kB / 415.8 MB, free: 71.06 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005404/0.2073, allocations: 375.7 kB / 416.2 MB, free: 71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2073, allocations: 9.359 kB / 416.2 MB, free: 71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2073, allocations: 1.031 kB / 416.2 MB, free: 71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.2073, allocations: 3.516 kB / 416.2 MB, free: 71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009092/0.2082, allocations: 0.8575 MB / 417.1 MB, free: 70.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.2082, allocations: 2.328 kB / 417.1 MB, free: 70.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.2084, allocations: 77.28 kB / 417.2 MB, free: 70.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001582/0.2086, allocations: 57.09 kB / 417.2 MB, free: 70.66 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.2086, allocations: 15.62 kB / 417.2 MB, free: 70.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007576/0.2093, allocations: 2.14 MB / 419.4 MB, free: 68.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2093, allocations: 2 kB / 419.4 MB, free: 68.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008036/0.2101, allocations: 0.5676 MB / 419.9 MB, free: 68.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.976e-05/0.2102, allocations: 76.14 kB / 420 MB, free: 68.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.2103, allocations: 10.92 kB / 420 MB, free: 68.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2104, allocations: 16.7 kB / 420 MB, free: 68.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.2105, allocations: 31.08 kB / 420.1 MB, free: 68.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.2105, allocations: 12.53 kB / 420.1 MB, free: 68.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.618e-05/0.2106, allocations: 172.4 kB / 420.2 MB, free: 68.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2106, allocations: 3.656 kB / 420.3 MB, free: 68.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006551/0.2112, allocations: 256.1 kB / 420.5 MB, free: 68.31 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.0002274/0.2115, allocations: 133.2 kB / 420.6 MB, free: 68.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000931/0.2124, allocations: 0.814 MB / 421.4 MB, free: 67.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2124, allocations: 0 / 421.4 MB, free: 67.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.2127, allocations: 343.4 kB / 421.8 MB, free: 67.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.213, allocations: 53.75 kB / 421.8 MB, free: 67.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.2144, allocations: 0.7715 MB / 422.6 MB, free: 67.28 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.2145, allocations: 119.1 kB / 422.7 MB, free: 67.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001809/0.2146, allocations: 65.44 kB / 422.8 MB, free: 67.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.2147, allocations: 37.78 kB / 422.8 MB, free: 67.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2147, allocations: 0 / 422.8 MB, free: 67.18 MB / 330.7 MB Notification: Performance of Templates: time 0.00938/0.2241, allocations: 4.933 MB / 427.8 MB, free: 66.68 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.2217397461645305]