Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001529/0.001529, allocations: 77.97 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] 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.001554/0.001554, allocations: 167.1 kB / 24.82 MB, free: 9.266 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 0.9284/0.9284, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.08386/0.08386, allocations: 19.75 MB / 281.6 MB, free: 9.09 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 358.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.342e-05, allocations: 5.828 kB / 358.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002268/0.002281, allocations: 2.301 MB / 360.7 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008285/0.00311, allocations: 0.6311 MB / 361.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.003214, allocations: 3.938 kB / 361.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.003328, allocations: 31.66 kB / 361.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.00351, allocations: 91.2 kB / 361.5 MB, free: 3.254 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00014/0.00365, allocations: 67.84 kB / 361.5 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.003877, allocations: 294.6 kB / 361.8 MB, free: 2.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.003993, allocations: 49.58 kB / 361.9 MB, free: 2.852 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002151/0.004208, allocations: 175.5 kB / 362.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.004321, allocations: 87.7 kB / 362.1 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.004346, allocations: 16 kB / 362.2 MB, free: 2.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.071e-05/0.004397, allocations: 27.94 kB / 362.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.214e-05/0.004429, allocations: 47.77 kB / 362.2 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.004484, allocations: 87.75 kB / 362.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.004673, allocations: 171.3 kB / 362.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004674, allocations: 0 / 362.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.004676, allocations: 4 kB / 362.5 MB, free: 2.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.004679, allocations: 0 / 362.5 MB, free: 2.246 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005468/0.005226, allocations: 0.585 MB / 363.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.005256, allocations: 12.03 kB / 363.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.424e-05/0.00534, allocations: 52.69 kB / 363.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.005521, allocations: 211.6 kB / 363.3 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.005581, allocations: 63.97 kB / 363.4 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.005608, allocations: 20.38 kB / 363.4 MB, free: 1.238 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.005788, allocations: 158 kB / 363.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.005798, allocations: 192 / 363.6 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.00581, allocations: 11.94 kB / 363.6 MB, free: 1.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.005816, allocations: 4 kB / 363.6 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.922e-05/0.005895, allocations: 59.62 kB / 363.6 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.006439, allocations: 0.5883 MB / 364.2 MB, free: 380 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.006605, allocations: 107 kB / 364.3 MB, free: 260 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.256e-05/0.006648, allocations: 43.66 kB / 364.4 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.006658, allocations: 0 / 364.4 MB, free: 212 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.006675, allocations: 37.39 kB / 364.4 MB, free: 164 kB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 9.82e-07/0.006676, allocations: 4 kB / 364.4 MB, free: 160 kB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004317/0.007108, allocations: 364.1 kB / 364.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.007131, allocations: 51.41 kB / 364.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.007269, allocations: 276.2 kB / 365.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.007283, allocations: 29.7 kB / 365.1 MB, free: 15.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.007359, allocations: 195.3 kB / 365.3 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.007394, allocations: 71.36 kB / 365.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.007442, allocations: 51.3 kB / 365.4 MB, free: 15.06 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.007596, allocations: 0.504 MB / 365.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.007626, allocations: 23.92 kB / 366 MB, free: 14.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.185e-05/0.007668, allocations: 51.33 kB / 366 MB, free: 14.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.007746, allocations: 77.58 kB / 366.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007747, allocations: 0 / 366.1 MB, free: 14.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001358/0.007883, allocations: 152.1 kB / 366.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-06/0.007893, allocations: 4 kB / 366.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.007896, allocations: 0 / 366.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.007906, allocations: 4 kB / 366.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/0.008112, allocations: 75.92 kB / 366.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.008115, allocations: 8 kB / 366.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.008173, allocations: 11.98 kB / 366.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.008181, allocations: 4 kB / 366.3 MB, free: 14.12 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.56e-05/0.008256, allocations: 160.6 kB / 366.5 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.008288, allocations: 31.8 kB / 366.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.008323, allocations: 30.11 kB / 366.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.008325, allocations: 4 kB / 366.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.008327, allocations: 3.938 kB / 366.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008329, allocations: 0 / 366.6 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.008669, allocations: 417.9 kB / 367 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.008671, allocations: 3.938 kB / 367 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.008846, allocations: 63.91 kB / 367 MB, free: 13.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.008848, allocations: 7.922 kB / 367.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.008857, allocations: 0 / 367.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.00886, allocations: 4 kB / 367.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.008861, allocations: 0 / 367.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.009076, allocations: 310.1 kB / 367.4 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.009123, allocations: 35.77 kB / 367.4 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.00914, allocations: 8 kB / 367.4 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.494e-05/0.009205, allocations: 8 kB / 367.4 MB, free: 12.99 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.00924, allocations: 15.97 kB / 367.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.009246, allocations: 7.938 kB / 367.4 MB, free: 12.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.151e-05/0.009327, allocations: 193.1 kB / 367.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009327, allocations: 0 / 367.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.009506, allocations: 44 kB / 367.7 MB, free: 12.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.63e-05/0.009573, allocations: 95.28 kB / 367.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.009693, allocations: 99.55 kB / 367.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.009694, allocations: 0 / 367.9 MB, free: 12.53 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.009739, allocations: 43.61 kB / 367.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.009967, allocations: 58.17 kB / 368 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.0108, allocations: 0.5606 MB / 368.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.01085, allocations: 88.2 kB / 368.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.193e-05/0.01091, allocations: 17.95 kB / 368.6 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.011, allocations: 102.2 kB / 368.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.011, allocations: 0 / 368.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of Templates: time 0.003872/0.01487, allocations: 2.214 MB / 370.9 MB, free: 9.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.587289733812213]