Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.001419/0.001419, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001507/0.001507, allocations: 161.7 kB / 24.26 MB, free: 172 kB / 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.442/1.442, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] 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.1452/0.1452, allocations: 19.73 MB / 280.8 MB, free: 9.262 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 357.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.275e-05, allocations: 6.25 kB / 357.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003676/0.003698, allocations: 2.188 MB / 359.4 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.004932, allocations: 0.6115 MB / 360 MB, free: 4.141 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.005042, allocations: 7.938 kB / 360 MB, free: 4.133 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.005181, allocations: 31.66 kB / 360 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002639/0.005444, allocations: 95.2 kB / 360.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.005615, allocations: 51.92 kB / 360.2 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.005994, allocations: 298.5 kB / 360.5 MB, free: 3.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.006138, allocations: 48.89 kB / 360.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003068/0.006445, allocations: 155.6 kB / 360.7 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001766/0.006621, allocations: 91.7 kB / 360.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.006661, allocations: 16 kB / 360.8 MB, free: 3.359 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.00673, allocations: 23.94 kB / 360.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.689e-05/0.006787, allocations: 51.77 kB / 360.9 MB, free: 3.285 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.006897, allocations: 79.75 kB / 360.9 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.007226, allocations: 219.2 kB / 361.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.007228, allocations: 0 / 361.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007229, allocations: 0 / 361.1 MB, free: 2.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.007233, allocations: 0 / 361.1 MB, free: 2.992 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009874/0.008221, allocations: 0.4891 MB / 361.6 MB, free: 2.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.008255, allocations: 8.031 kB / 361.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.008394, allocations: 40.75 kB / 361.7 MB, free: 2.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.008765, allocations: 208.8 kB / 361.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.008788, allocations: 12.38 kB / 361.9 MB, free: 2.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/0.008842, allocations: 24.33 kB / 361.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.009231, allocations: 179.3 kB / 362.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.009244, allocations: 192 / 362.1 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.009268, allocations: 8.375 kB / 362.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.009278, allocations: 7.938 kB / 362.1 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.009597, allocations: 112.5 kB / 362.2 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.01063, allocations: 0.5156 MB / 362.7 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.01092, allocations: 126.6 kB / 362.9 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.01109, allocations: 68.83 kB / 362.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.01111, allocations: 4 kB / 362.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.01115, allocations: 42.44 kB / 363 MB, free: 1.043 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.182e-06/0.01115, allocations: 0 / 363 MB, free: 1.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001271/0.01242, allocations: 0.4912 MB / 363.5 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.01246, allocations: 51.41 kB / 363.5 MB, free: 468 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.01275, allocations: 241.8 kB / 363.8 MB, free: 220 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.01279, allocations: 29.7 kB / 363.8 MB, free: 184 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01291, allocations: 144.6 kB / 363.9 MB, free: 36 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-05/0.01299, allocations: 67.61 kB / 364 MB, free: 15.96 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/0.01307, allocations: 45.66 kB / 364 MB, free: 15.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.01328, allocations: 334.8 kB / 364.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.01343, allocations: 47.98 kB / 364.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.01359, allocations: 77.67 kB / 364.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.0139, allocations: 132.3 kB / 364.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.0139, allocations: 0 / 364.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004208/0.01432, allocations: 201.1 kB / 364.8 MB, free: 15.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.01433, allocations: 4 kB / 364.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01434, allocations: 0 / 364.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.01436, allocations: 7.938 kB / 364.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.01476, allocations: 75.98 kB / 364.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.01623, allocations: 1.311 MB / 366.2 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.01637, allocations: 8.031 kB / 366.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.01639, allocations: 12.12 kB / 366.2 MB, free: 13.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001425/0.01653, allocations: 133.8 kB / 366.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.0166, allocations: 27.86 kB / 366.4 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004183/0.01701, allocations: 187.6 kB / 366.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.01702, allocations: 4 kB / 366.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.01702, allocations: 0 / 366.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.01702, allocations: 0 / 366.6 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007889/0.01781, allocations: 452.6 kB / 367 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01781, allocations: 4 kB / 367 MB, free: 12.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.01806, allocations: 47.91 kB / 367.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01806, allocations: 0 / 367.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.01808, allocations: 4 kB / 367.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01808, allocations: 0 / 367.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.01809, allocations: 7.938 kB / 367.1 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006021/0.01869, allocations: 359 kB / 367.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.01877, allocations: 27.89 kB / 367.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.0188, allocations: 11.98 kB / 367.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.01896, allocations: 4 kB / 367.5 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.01903, allocations: 19.91 kB / 367.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.01904, allocations: 4 kB / 367.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001944/0.01923, allocations: 169.2 kB / 367.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01923, allocations: 0 / 367.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003097/0.01954, allocations: 48 kB / 367.7 MB, free: 12.04 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: 0 () * 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 0.0001167/0.01966, allocations: 95.19 kB / 367.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005526/0.02021, allocations: 171.3 kB / 368 MB, free: 11.78 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.02021, allocations: 0 / 368 MB, free: 11.78 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.02038, allocations: 67.91 kB / 368 MB, free: 11.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.02077, allocations: 48.34 kB / 368.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.02197, allocations: 0.5769 MB / 368.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.02233, allocations: 143.1 kB / 368.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.02243, allocations: 25.62 kB / 368.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.543e-05/0.02251, allocations: 24.5 kB / 368.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.02251, allocations: 0 / 368.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of Templates: time 0.006549/0.02906, allocations: 2.441 MB / 371.3 MB, free: 8.441 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3301081960089505]