Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.001725/0.001725, allocations: 118 kB / 19.74 MB, free: 2.152 MB / 14.72 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.002408/0.002408, allocations: 222.2 kB / 23.05 MB, free: 5 MB / 14.72 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03722/0.03722, allocations: 6.122 MB / 319.4 MB, free: 13 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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: "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 43.94 kB / 444.5 MB, free: 5.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 55.03 MB / 499.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002388/0.1102, allocations: 1.137 MB / 0.4889 GB, free: 13.19 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1122, allocations: 1.509 MB / 0.4904 GB, free: 11.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.1122, allocations: 4 kB / 0.4904 GB, free: 11.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.1126, allocations: 103.5 kB / 0.4905 GB, free: 11.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.1128, allocations: 71.59 kB / 0.4906 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1139, allocations: 0.6068 MB / 0.4912 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.1142, allocations: 139.2 kB / 0.4913 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1143, allocations: 33.52 kB / 0.4913 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.302e-05/0.1144, allocations: 59.83 kB / 0.4914 GB, free: 10.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1145, allocations: 71.69 kB / 0.4915 GB, free: 10.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1145, allocations: 8 kB / 0.4915 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.1148, allocations: 171.8 kB / 0.4916 GB, free: 10.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.059e-05/0.1148, allocations: 27.91 kB / 0.4917 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.131e-05/0.1149, allocations: 67.67 kB / 0.4917 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004001/0.1153, allocations: 267.1 kB / 0.492 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1153, allocations: 0 / 0.492 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1153, allocations: 0 / 0.492 GB, free: 10.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.1153, allocations: 0 / 0.492 GB, free: 10.05 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001599/0.1169, allocations: 0.5288 MB / 0.4925 GB, free: 9.488 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.117, allocations: 8.031 kB / 0.4925 GB, free: 9.48 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.841e-05/0.117, allocations: 42.73 kB / 0.4925 GB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.907e-05/0.1171, allocations: 16.84 kB / 0.4926 GB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1173, allocations: 158.3 kB / 0.4927 GB, free: 9.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.1173, allocations: 8.609 kB / 0.4927 GB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.1173, allocations: 12.38 kB / 0.4927 GB, free: 9.215 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.1177, allocations: 176 kB / 0.4929 GB, free: 9.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1177, allocations: 3.938 kB / 0.4929 GB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1177, allocations: 11.98 kB / 0.4929 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1177, allocations: 0 / 0.4929 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.118, allocations: 167.9 kB / 0.4931 GB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009673/0.1189, allocations: 0.5307 MB / 0.4936 GB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1192, allocations: 150.5 kB / 0.4937 GB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1193, allocations: 72.78 kB / 0.4938 GB, free: 8.055 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.1194, allocations: 4 kB / 0.4938 GB, free: 8.051 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.1194, allocations: 34.55 kB / 0.4938 GB, free: 8.008 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1194, allocations: 0 / 0.4938 GB, free: 8.008 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001025/0.1204, allocations: 310.3 kB / 0.4941 GB, free: 7.695 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1205, allocations: 55.66 kB / 0.4942 GB, free: 7.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1207, allocations: 175.9 kB / 0.4943 GB, free: 7.449 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.1207, allocations: 25.7 kB / 0.4944 GB, free: 7.418 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.904e-05/0.1208, allocations: 120.3 kB / 0.4945 GB, free: 7.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.429e-05/0.1208, allocations: 51.62 kB / 0.4945 GB, free: 7.246 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.1209, allocations: 45.69 kB / 0.4946 GB, free: 7.195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1211, allocations: 322.8 kB / 0.4949 GB, free: 6.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1212, allocations: 87.97 kB / 0.495 GB, free: 6.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.1214, allocations: 95.62 kB / 0.4951 GB, free: 6.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000304/0.1217, allocations: 196.7 kB / 0.4953 GB, free: 6.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1217, allocations: 0 / 0.4953 GB, free: 6.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005942/0.1223, allocations: 310.1 kB / 0.4955 GB, free: 6.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1223, allocations: 8 kB / 0.4956 GB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1223, allocations: 0 / 0.4956 GB, free: 6.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/0.1226, allocations: 52.81 kB / 0.4956 GB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1228, allocations: 35.92 kB / 0.4956 GB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.1244, allocations: 1.443 MB / 0.497 GB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.1245, allocations: 11.92 kB / 0.4971 GB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.1246, allocations: 11.98 kB / 0.4971 GB, free: 4.508 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 21 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.1247, allocations: 125.8 kB / 0.4972 GB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.1247, allocations: 11.91 kB / 0.4972 GB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005383/0.1253, allocations: 251.1 kB / 0.4974 GB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1253, allocations: 3.938 kB / 0.4974 GB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1253, allocations: 4 kB / 0.4975 GB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1253, allocations: 0 / 0.4975 GB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.1256, allocations: 232.6 kB / 0.4977 GB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.1256, allocations: 3.938 kB / 0.4977 GB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-05/0.1257, allocations: 16 kB / 0.4977 GB, free: 3.816 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.1259, allocations: 52.81 kB / 0.4977 GB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1259, allocations: 4 kB / 0.4977 GB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.1274, allocations: 1.432 MB / 0.4991 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1274, allocations: 0 / 0.4991 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.1279, allocations: 314.5 kB / 0.4994 GB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.1279, allocations: 19.84 kB / 0.4995 GB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.128, allocations: 0 / 0.4995 GB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.1281, allocations: 7.938 kB / 0.4995 GB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.1281, allocations: 11.97 kB / 0.4995 GB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-05/0.1282, allocations: 7.938 kB / 0.4995 GB, free: 1.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.1283, allocations: 134.1 kB / 0.4996 GB, free: 1.703 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1283, allocations: 0 / 0.4996 GB, free: 1.703 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003337/0.1286, allocations: 48 kB / 0.4997 GB, free: 1.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (12): * Single equations (assignments): 11 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008913/0.1295, allocations: 0.8537 MB / 0.5005 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000678/0.1302, allocations: 306.5 kB / 0.5008 GB, free: 472 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1302, allocations: 0 / 0.5008 GB, free: 472 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.1306, allocations: 206.3 kB / 0.501 GB, free: 256 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.1309, allocations: 8 kB / 0.501 GB, free: 248 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.1338, allocations: 2.092 MB / 0.503 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.1341, allocations: 0.7123 MB / 0.5037 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.173e-05/0.1342, allocations: 20.62 kB / 0.5038 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.1343, allocations: 35.42 kB / 0.5038 GB, free: 13.27 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.1343, allocations: 0 / 0.5038 GB, free: 13.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.1677, allocations: 4.082 MB / 0.5078 GB, free: 9.316 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.61, allocations: 2.578 kB / 0.5078 GB, free: 9.316 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.557029417999729] Failed to read output from testmodel.py, exit status != 0: 11.719918313996459 11.951867409 11.833592205 Calling exit ...