Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.001381/0.001381, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001536/0.001536, allocations: 223.5 kB / 23.04 MB, free: 5.016 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.03846/0.03846, allocations: 6.136 MB / 319.4 MB, free: 12.81 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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 51.92 kB / 444.4 MB, free: 5.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.101, allocations: 55.01 MB / 499.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002429/0.1034, allocations: 1.105 MB / 0.4888 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1054, allocations: 1.482 MB / 0.4903 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.1055, allocations: 4 kB / 0.4903 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.1059, allocations: 107.5 kB / 0.4904 GB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.1061, allocations: 79.41 kB / 0.4904 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.1078, allocations: 0.8191 MB / 0.4912 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.1081, allocations: 147.2 kB / 0.4914 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1082, allocations: 41.94 kB / 0.4914 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.199e-05/0.1083, allocations: 59.78 kB / 0.4915 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1084, allocations: 75.62 kB / 0.4916 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.652e-05/0.1085, allocations: 12 kB / 0.4916 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003607/0.1088, allocations: 195.8 kB / 0.4917 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.453e-05/0.1089, allocations: 31.91 kB / 0.4918 GB, free: 9.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.1089, allocations: 67.66 kB / 0.4918 GB, free: 9.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004383/0.1094, allocations: 315 kB / 0.4921 GB, free: 9.527 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1094, allocations: 0 / 0.4921 GB, free: 9.527 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1094, allocations: 0 / 0.4921 GB, free: 9.527 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1094, allocations: 4 kB / 0.4921 GB, free: 9.523 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.001736/0.1111, allocations: 0.5714 MB / 0.4927 GB, free: 8.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1112, allocations: 12.02 kB / 0.4927 GB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.322e-05/0.1112, allocations: 42.75 kB / 0.4928 GB, free: 8.855 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.1113, allocations: 16.84 kB / 0.4928 GB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.1116, allocations: 166.3 kB / 0.4929 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1116, allocations: 8.609 kB / 0.4929 GB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.1116, allocations: 20.36 kB / 0.493 GB, free: 8.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.112, allocations: 261.1 kB / 0.4932 GB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.112, allocations: 3.938 kB / 0.4932 GB, free: 8.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.112, allocations: 4 kB / 0.4932 GB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.112, allocations: 4 kB / 0.4932 GB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.1123, allocations: 163.9 kB / 0.4934 GB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009955/0.1133, allocations: 0.519 MB / 0.4939 GB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.1138, allocations: 186.5 kB / 0.4941 GB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.1139, allocations: 84.84 kB / 0.4941 GB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.63e-05/0.114, allocations: 4 kB / 0.4941 GB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.114, allocations: 34.56 kB / 0.4942 GB, free: 7.289 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.114, allocations: 0 / 0.4942 GB, free: 7.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001778/0.1158, allocations: 0.4937 MB / 0.4947 GB, free: 6.789 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.1158, allocations: 59.34 kB / 0.4947 GB, free: 6.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.116, allocations: 175.5 kB / 0.4949 GB, free: 6.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.116, allocations: 25.7 kB / 0.4949 GB, free: 6.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.1161, allocations: 124.3 kB / 0.495 GB, free: 6.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.1162, allocations: 51.55 kB / 0.4951 GB, free: 6.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-05/0.1163, allocations: 41.7 kB / 0.4951 GB, free: 6.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1164, allocations: 326.8 kB / 0.4954 GB, free: 5.961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.1166, allocations: 99.95 kB / 0.4955 GB, free: 5.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.1167, allocations: 95.97 kB / 0.4956 GB, free: 5.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.1171, allocations: 216.6 kB / 0.4958 GB, free: 5.555 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1171, allocations: 0 / 0.4958 GB, free: 5.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008723/0.118, allocations: 384.8 kB / 0.4962 GB, free: 5.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.118, allocations: 4 kB / 0.4962 GB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.118, allocations: 4 kB / 0.4962 GB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/0.1186, allocations: 140.7 kB / 0.4963 GB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.1188, allocations: 31.92 kB / 0.4964 GB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.1215, allocations: 1.905 MB / 0.4982 GB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.1216, allocations: 19.83 kB / 0.4982 GB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.1216, allocations: 7.984 kB / 0.4982 GB, free: 2.941 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 (18): * Single equations (assignments): 17 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1218, allocations: 129.8 kB / 0.4984 GB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.1218, allocations: 11.91 kB / 0.4984 GB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008964/0.1227, allocations: 370.2 kB / 0.4987 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1227, allocations: 0 / 0.4987 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.1227, allocations: 0 / 0.4987 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1227, allocations: 0 / 0.4987 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.123, allocations: 232.5 kB / 0.499 GB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.123, allocations: 0 / 0.499 GB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.556e-05/0.1231, allocations: 19.98 kB / 0.499 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006001/0.1237, allocations: 140.7 kB / 0.4991 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.1237, allocations: 4 kB / 0.4991 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/0.1261, allocations: 1.89 MB / 0.501 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1261, allocations: 0 / 0.501 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009003/0.127, allocations: 427.9 kB / 0.5014 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.45e-05/0.127, allocations: 19.91 kB / 0.5014 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.127, allocations: 7.938 kB / 0.5014 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1272, allocations: 7.984 kB / 0.5014 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.1273, allocations: 19.97 kB / 0.5014 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.1273, allocations: 4 kB / 0.5014 GB, free: 15.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.1274, allocations: 123.2 kB / 0.5015 GB, free: 15.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1274, allocations: 0 / 0.5015 GB, free: 15.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003624/0.1278, allocations: 60 kB / 0.5016 GB, free: 15.31 MB / 382.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 (13): * Single equations (assignments): 12 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00125/0.129, allocations: 0.9697 MB / 0.5025 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007919/0.1298, allocations: 372.6 kB / 0.5029 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.1298, allocations: 4 kB / 0.5029 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.1303, allocations: 246.5 kB / 0.5031 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.1306, allocations: 27.92 kB / 0.5032 GB, free: 13.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.1342, allocations: 2.374 MB / 0.5055 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.1343, allocations: 106 kB / 0.5056 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.201e-05/0.1344, allocations: 25.39 kB / 0.5056 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.374e-05/0.1345, allocations: 43.42 kB / 0.5057 GB, free: 11 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1345, allocations: 0 / 0.5057 GB, free: 11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.1694, allocations: 6.161 MB / 0.5117 GB, free: 4.984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/12.99, allocations: 10.84 kB / 0.5117 GB, free: 4.977 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad_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_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.942273379303515] Failed to read output from testmodel.py, exit status != 0: 13.113687164150178 13.348646775 13.236004504 Calling exit ...