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.001111/0.001111, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001418/0.002529, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009992/0.0009992, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001464/0.002463, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9506/0.9506, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08089/1.031, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.1103/0.1103, allocations: 19.79 MB / 264 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01242/0.1227, allocations: 7.549 MB / 271.5 MB, free: 3.355 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.252e-06/1.252e-06, allocations: 0 / 272.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.093e-05, allocations: 6.312 kB / 272.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.1191/0.1191, allocations: 2.358 MB / 275.2 MB, free: 1.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.12, allocations: 0.6487 MB / 275.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1201, allocations: 7.312 kB / 275.8 MB, free: 1.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.01e-05/0.1201, allocations: 31 kB / 275.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.1203, allocations: 90.97 kB / 275.9 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.1204, allocations: 63.5 kB / 276 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.1207, allocations: 294 kB / 276.3 MB, free: 1.406 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1208, allocations: 53.11 kB / 276.3 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.1211, allocations: 206.9 kB / 276.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1213, allocations: 87.38 kB / 276.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.1213, allocations: 19.03 kB / 276.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.047e-05/0.1214, allocations: 24.88 kB / 276.7 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.1214, allocations: 37.81 kB / 276.7 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.728e-05/0.1215, allocations: 68 kB / 276.8 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.1217, allocations: 165.7 kB / 276.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.1217, allocations: 2.172 kB / 276.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1217, allocations: 0 / 276.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.1217, allocations: 1.125 kB / 276.9 MB, free: 1.301 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006364/0.1224, allocations: 0.5057 MB / 277.4 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.1224, allocations: 9.75 kB / 277.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.1225, allocations: 113.3 kB / 277.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.1227, allocations: 195.6 kB / 277.8 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.1228, allocations: 68.92 kB / 277.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.1228, allocations: 15.91 kB / 277.8 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.123, allocations: 161.7 kB / 278 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.123, allocations: 1.25 kB / 278 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.123, allocations: 8.969 kB / 278 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.123, allocations: 5.375 kB / 278 MB, free: 0.582 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.105e-05/0.1231, allocations: 52.28 kB / 278.1 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.1236, allocations: 418.3 kB / 278.5 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1237, allocations: 90.67 kB / 278.6 MB, free: 300 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.1238, allocations: 39.92 kB / 278.6 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.1238, allocations: 4 kB / 278.6 MB, free: 292 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.1238, allocations: 37.56 kB / 278.6 MB, free: 252 kB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.263e-06/0.1238, allocations: 0 / 278.6 MB, free: 252 kB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004571/0.1243, allocations: 339.1 kB / 279 MB, free: 68 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.721e-05/0.1243, allocations: 54.83 kB / 279 MB, free: 4 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1244, allocations: 226 kB / 279.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1245, allocations: 30.36 kB / 279.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.1245, allocations: 129.5 kB / 279.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1245, allocations: 67.47 kB / 279.5 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-05/0.1246, allocations: 47.47 kB / 279.5 MB, free: 15.69 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.1247, allocations: 338.7 kB / 279.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.113e-05/0.1247, allocations: 19.33 kB / 279.9 MB, free: 15.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.276e-05/0.1247, allocations: 42.39 kB / 279.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.494e-05/0.1248, allocations: 76.02 kB / 280 MB, free: 15.34 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1248, allocations: 0 / 280 MB, free: 15.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001308/0.125, allocations: 115.7 kB / 280.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.125, allocations: 10.34 kB / 280.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.125, allocations: 3.875 kB / 280.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.125, allocations: 1.125 kB / 280.1 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.1253, allocations: 105.5 kB / 280.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1253, allocations: 1.797 kB / 280.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.124e-05/0.1254, allocations: 11.67 kB / 280.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1254, allocations: 2.312 kB / 280.2 MB, free: 15.3 MB / 282.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 6.865e-05/0.1254, allocations: 125.8 kB / 280.3 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.1255, allocations: 19.95 kB / 280.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.1255, allocations: 30.97 kB / 280.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.1255, allocations: 1.688 kB / 280.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1255, allocations: 1.5 kB / 280.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1255, allocations: 1.266 kB / 280.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000317/0.1258, allocations: 314.6 kB / 280.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1258, allocations: 4.531 kB / 280.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.1261, allocations: 75.97 kB / 280.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.1261, allocations: 23.41 kB / 280.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1261, allocations: 0 / 280.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1261, allocations: 5.938 kB / 280.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1261, allocations: 1.469 kB / 280.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1261, allocations: 0.5625 kB / 280.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001935/0.1263, allocations: 233.6 kB / 281 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.1263, allocations: 5.672 kB / 281 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.766e-05/0.1264, allocations: 4.75 kB / 281.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.1264, allocations: 14.89 kB / 281.1 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.1264, allocations: 10.94 kB / 281.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.536e-05/0.1265, allocations: 80.55 kB / 281.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1265, allocations: 0 / 281.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001542/0.1267, allocations: 41.84 kB / 281.2 MB, free: 14.81 MB / 282.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 8.171e-05/0.1267, allocations: 80.86 kB / 281.3 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.1269, allocations: 78.31 kB / 281.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.1269, allocations: 6.906 kB / 281.4 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.183e-05/0.1269, allocations: 58.73 kB / 281.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.1272, allocations: 316.2 kB / 281.7 MB, free: 14.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.13, allocations: 496.8 kB / 282.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.341e-05/0.1301, allocations: 84.42 kB / 282.3 MB, free: 14.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.347e-05/0.1302, allocations: 24.59 kB / 282.3 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.1303, allocations: 83.95 kB / 282.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1303, allocations: 0 / 282.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Templates: time 0.004462/0.1347, allocations: 2.403 MB / 284.8 MB, free: 13.76 MB / 282.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.5568127799779177]