Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.001027/0.001027, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002345, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001038/0.001038, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002342, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 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.9654/0.9654, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08799/1.053, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.1003/0.1003, allocations: 19.75 MB / 263.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01385/0.1141, allocations: 7.553 MB / 271.3 MB, free: 3.48 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 272.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.852e-05, allocations: 5.828 kB / 272.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.1389/0.1389, allocations: 2.253 MB / 274.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009899/0.1399, allocations: 0.6181 MB / 275.4 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.544e-05/0.14, allocations: 8.844 kB / 275.4 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.772e-05/0.1401, allocations: 26.23 kB / 275.5 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.1402, allocations: 82.67 kB / 275.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001166/0.1403, allocations: 52.14 kB / 275.6 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002257/0.1406, allocations: 254.3 kB / 275.9 MB, free: 1.426 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1407, allocations: 42.75 kB / 275.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.1409, allocations: 178 kB / 276.1 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.1411, allocations: 76.98 kB / 276.1 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.1411, allocations: 15.56 kB / 276.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.1412, allocations: 20.06 kB / 276.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.1412, allocations: 33.59 kB / 276.2 MB, free: 1.371 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.226e-05/0.1412, allocations: 55.06 kB / 276.3 MB, free: 1.363 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.1414, allocations: 134.4 kB / 276.4 MB, free: 1.344 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.53e-05/0.1414, allocations: 1.219 kB / 276.4 MB, free: 1.344 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1414, allocations: 4.938 kB / 276.4 MB, free: 1.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.1415, allocations: 0 / 276.4 MB, free: 1.34 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005239/0.142, allocations: 490.4 kB / 276.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.142, allocations: 9.797 kB / 276.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.29e-05/0.1421, allocations: 105.1 kB / 277 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1423, allocations: 184.8 kB / 277.2 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1423, allocations: 14.06 kB / 277.2 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1423, allocations: 13.89 kB / 277.2 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1425, allocations: 134.4 kB / 277.3 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1425, allocations: 0.8438 kB / 277.3 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1425, allocations: 6.406 kB / 277.3 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1425, allocations: 8.016 kB / 277.3 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.1426, allocations: 46.62 kB / 277.4 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.143, allocations: 376.1 kB / 277.8 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1431, allocations: 71.91 kB / 277.8 MB, free: 428 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.1431, allocations: 36.22 kB / 277.9 MB, free: 420 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-06/0.1431, allocations: 8.172 kB / 277.9 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.1432, allocations: 36.62 kB / 277.9 MB, free: 376 kB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.1432, allocations: 0 / 277.9 MB, free: 376 kB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004577/0.1436, allocations: 334.7 kB / 278.2 MB, free: 200 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.1436, allocations: 57.62 kB / 278.3 MB, free: 132 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1437, allocations: 214.6 kB / 278.5 MB, free: 16 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1438, allocations: 29.33 kB / 278.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.1438, allocations: 119.9 kB / 278.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.1439, allocations: 68.58 kB / 278.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.1439, allocations: 49.41 kB / 278.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.144, allocations: 333.8 kB / 279.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.144, allocations: 16.39 kB / 279.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.1441, allocations: 47.34 kB / 279.2 MB, free: 15.48 MB / 282.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom ((-generator.omega_e_nom) / (-6.283185307179586) = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.1443, allocations: 148.3 kB / 279.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1443, allocations: 3.875 kB / 279.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001194/0.1444, allocations: 114.9 kB / 279.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1444, allocations: 5.531 kB / 279.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1445, allocations: 1.188 kB / 279.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.1445, allocations: 2.281 kB / 279.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.1447, allocations: 80.89 kB / 279.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1447, allocations: 7.172 kB / 279.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.202e-05/0.1447, allocations: 10.14 kB / 279.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1447, allocations: 2.781 kB / 279.5 MB, free: 15.41 MB / 282.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 23 * 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.224e-05/0.1448, allocations: 123.8 kB / 279.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1448, allocations: 19.16 kB / 279.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.1449, allocations: 30.59 kB / 279.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1449, allocations: 1.625 kB / 279.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1449, allocations: 6.281 kB / 279.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1449, allocations: 1.312 kB / 279.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/0.1452, allocations: 300.7 kB / 280 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1452, allocations: 2.562 kB / 280 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.1454, allocations: 77.14 kB / 280.1 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.1454, allocations: 24.97 kB / 280.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1454, allocations: 5.859 kB / 280.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.1454, allocations: 1.188 kB / 280.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1454, allocations: 2.172 kB / 280.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1454, allocations: 0 / 280.1 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.1456, allocations: 225.7 kB / 280.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1457, allocations: 2.672 kB / 280.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.1457, allocations: 6.859 kB / 280.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.57e-05/0.1457, allocations: 16.94 kB / 280.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-06/0.1458, allocations: 2.859 kB / 280.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.168e-05/0.1458, allocations: 74.72 kB / 280.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1458, allocations: 0 / 280.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001486/0.146, allocations: 43.38 kB / 280.5 MB, free: 14.92 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * 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 (18): * Single equations (assignments): 18 * 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 7.367e-05/0.146, allocations: 80.72 kB / 280.5 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1462, allocations: 79.75 kB / 280.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.1462, allocations: 2.469 kB / 280.6 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.865e-05/0.1462, allocations: 52.06 kB / 280.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.1464, allocations: 55.98 kB / 280.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.149, allocations: 460.4 kB / 281.2 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.529e-05/0.1491, allocations: 78.73 kB / 281.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.012e-05/0.1491, allocations: 20.5 kB / 281.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.1493, allocations: 89.42 kB / 281.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1493, allocations: 0 / 281.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Templates: time 0.004785/0.154, allocations: 2.472 MB / 283.8 MB, free: 14.19 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6258955942466855]