Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.001862/0.001862, allocations: 118.2 kB / 19.74 MB, free: 2.141 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.002521/0.002521, allocations: 220.3 kB / 23.05 MB, free: 4.945 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.03965/0.03965, allocations: 6.124 MB / 319.4 MB, free: 12.96 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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 47.92 kB / 444.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.117, allocations: 55.02 MB / 499.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.00371/0.1207, allocations: 2.264 MB / 0.49 GB, free: 12.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.1233, allocations: 1.727 MB / 0.4917 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1235, allocations: 8 kB / 0.4917 GB, free: 10.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000435/0.1239, allocations: 155.1 kB / 0.4919 GB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.1244, allocations: 214.6 kB / 0.4921 GB, free: 9.898 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.1267, allocations: 1.221 MB / 0.4933 GB, free: 8.676 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006376/0.1273, allocations: 406 kB / 0.4936 GB, free: 8.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1275, allocations: 83.69 kB / 0.4937 GB, free: 8.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.1277, allocations: 171.3 kB / 0.4939 GB, free: 8.023 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.128, allocations: 207.1 kB / 0.4941 GB, free: 7.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.349e-05/0.1281, allocations: 32 kB / 0.4941 GB, free: 7.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.1286, allocations: 271.8 kB / 0.4944 GB, free: 7.523 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.1287, allocations: 87.61 kB / 0.4945 GB, free: 7.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.1289, allocations: 191 kB / 0.4946 GB, free: 7.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008733/0.1298, allocations: 0.5838 MB / 0.4952 GB, free: 6.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1298, allocations: 0 / 0.4952 GB, free: 6.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1298, allocations: 0 / 0.4952 GB, free: 6.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1298, allocations: 0 / 0.4952 GB, free: 6.664 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.005367/0.1352, allocations: 1.312 MB / 0.4965 GB, free: 5.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.1352, allocations: 12.03 kB / 0.4965 GB, free: 5.305 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.566e-05/0.1353, allocations: 58.73 kB / 0.4966 GB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1354, allocations: 44.66 kB / 0.4966 GB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.1359, allocations: 261.5 kB / 0.4969 GB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.1359, allocations: 28.97 kB / 0.4969 GB, free: 4.887 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.136, allocations: 36.38 kB / 0.4969 GB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008035/0.1368, allocations: 478.4 kB / 0.4974 GB, free: 4.371 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1368, allocations: 3.938 kB / 0.4974 GB, free: 4.367 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.5e-05/0.1369, allocations: 16 kB / 0.4974 GB, free: 4.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1369, allocations: 8 kB / 0.4974 GB, free: 4.344 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007175/0.1376, allocations: 430.5 kB / 0.4978 GB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002576/0.1402, allocations: 1.375 MB / 0.4992 GB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.1412, allocations: 482.4 kB / 0.4996 GB, free: 2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.1416, allocations: 252.8 kB / 0.4999 GB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.659e-05/0.1417, allocations: 15.97 kB / 0.4999 GB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.1417, allocations: 42.56 kB / 0.4999 GB, free: 1.684 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.486e-06/0.1417, allocations: 0 / 0.4999 GB, free: 1.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007618/0.1493, allocations: 1.825 MB / 0.5017 GB, free: 15.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.1495, allocations: 106.8 kB / 0.5018 GB, free: 15.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.1499, allocations: 277.8 kB / 0.5021 GB, free: 15.44 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.15, allocations: 37.7 kB / 0.5021 GB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.1502, allocations: 161.1 kB / 0.5022 GB, free: 15.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.1504, allocations: 162.6 kB / 0.5024 GB, free: 15.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002322/0.1506, allocations: 110.3 kB / 0.5025 GB, free: 14.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002233/0.1508, allocations: 338.8 kB / 0.5028 GB, free: 14.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.1513, allocations: 297.2 kB / 0.5031 GB, free: 14.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.1519, allocations: 353.7 kB / 0.5035 GB, free: 13.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.1529, allocations: 0.6625 MB / 0.5041 GB, free: 13.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1529, allocations: 0 / 0.5041 GB, free: 13.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003764/0.1567, allocations: 1.251 MB / 0.5053 GB, free: 12.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1567, allocations: 7.938 kB / 0.5053 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1567, allocations: 3.938 kB / 0.5053 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00379/0.1605, allocations: 0.7734 MB / 0.5061 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.1609, allocations: 83.89 kB / 0.5062 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008277/0.1692, allocations: 4.065 MB / 0.5101 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.1698, allocations: 63.55 kB / 0.5102 GB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.1698, allocations: 23.98 kB / 0.5102 GB, free: 6.922 MB / 382.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 (51): * Single equations (assignments): 50 * 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 {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000257/0.1701, allocations: 173.6 kB / 0.5104 GB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.1702, allocations: 31.81 kB / 0.5104 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/0.1739, allocations: 1.191 MB / 0.5116 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.1739, allocations: 11.98 kB / 0.5116 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1739, allocations: 0 / 0.5116 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1739, allocations: 3.984 kB / 0.5116 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.1746, allocations: 0.5317 MB / 0.5121 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.1746, allocations: 4 kB / 0.5121 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.1748, allocations: 63.91 kB / 0.5122 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003601/0.1784, allocations: 0.7499 MB / 0.5129 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/0.1785, allocations: 12 kB / 0.5129 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2374/0.4159, allocations: 4.019 MB / 0.5168 GB, free: 29.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4159, allocations: 0 / 0.5168 GB, free: 29.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/0.4195, allocations: 1.209 MB / 0.518 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.4196, allocations: 42.52 kB / 0.5181 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.4197, allocations: 17.66 kB / 0.5181 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.42, allocations: 24.09 kB / 0.5181 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.4202, allocations: 39 kB / 0.5181 GB, free: 29.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.4202, allocations: 15.14 kB / 0.5182 GB, free: 29.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.4204, allocations: 193.4 kB / 0.5183 GB, free: 29.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4204, allocations: 0 / 0.5183 GB, free: 29.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006442/0.4211, allocations: 177.4 kB / 0.5185 GB, free: 29.19 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 (36): * Single equations (assignments): 35 * 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 {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003779/0.4248, allocations: 1.775 MB / 0.5202 GB, free: 28.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.4276, allocations: 0.9896 MB / 0.5212 GB, free: 28.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4276, allocations: 0.875 kB / 0.5212 GB, free: 28.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/0.4296, allocations: 0.6506 MB / 0.5218 GB, free: 28.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.4301, allocations: 37.61 kB / 0.5219 GB, free: 28.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.4409, allocations: 5.183 MB / 0.5269 GB, free: 26.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.4413, allocations: 0.8006 MB / 0.5277 GB, free: 25.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.4415, allocations: 52.39 kB / 0.5278 GB, free: 25.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.4417, allocations: 121.8 kB / 0.5279 GB, free: 25.77 MB / 382.1 MB Notification: Performance of SimCode: time 2.164e-06/0.4417, allocations: 0 / 0.5279 GB, free: 25.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04814/0.4898, allocations: 15.72 MB / 0.5432 GB, free: 20.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.44, allocations: 0 / 0.5432 GB, free: 20.48 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad_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_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.21436185800121] Failed to read output from testmodel.py, exit status != 0: 13.562158722001186 13.582019534 13.448701932 Calling exit ...