Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.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.001383/0.001383, allocations: 112 kB / 17.17 MB, free: 5.887 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.001542/0.001542, allocations: 208 kB / 20.14 MB, free: 2.934 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.04266/0.04266, allocations: 6.128 MB / 315.7 MB, free: 1.207 MB / 238.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.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 45.38 kB / 439.2 MB, free: 40.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09635, allocations: 54.98 MB / 494.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002439/0.09878, allocations: 1.855 MB / 496.1 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1004, allocations: 1.645 MB / 497.7 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1005, allocations: 4 kB / 497.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.1009, allocations: 139.2 kB / 497.8 MB, free: 6.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.1011, allocations: 143.1 kB / 498 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.1024, allocations: 0.8442 MB / 498.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.1028, allocations: 330.5 kB / 499.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1029, allocations: 93.97 kB / 499.2 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.031e-05/0.103, allocations: 139.5 kB / 499.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1032, allocations: 175.3 kB / 499.6 MB, free: 5.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.1032, allocations: 36 kB / 499.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.1035, allocations: 227.8 kB / 499.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.1036, allocations: 75.69 kB / 499.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1037, allocations: 159.3 kB / 0.4883 GB, free: 4.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004376/0.1041, allocations: 0.5139 MB / 0.4888 GB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1041, allocations: 0 / 0.4888 GB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1041, allocations: 0 / 0.4888 GB, free: 4.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1041, allocations: 4 kB / 0.4888 GB, free: 4.109 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002434/0.1066, allocations: 0.925 MB / 0.4897 GB, free: 3.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1066, allocations: 16.03 kB / 0.4897 GB, free: 3.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.1067, allocations: 58.73 kB / 0.4898 GB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002228/0.1069, allocations: 48.72 kB / 0.4898 GB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.1072, allocations: 303.7 kB / 0.4901 GB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1072, allocations: 16.81 kB / 0.4902 GB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.1072, allocations: 28.38 kB / 0.4902 GB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.1076, allocations: 331.7 kB / 0.4905 GB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1077, allocations: 7.875 kB / 0.4905 GB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.1077, allocations: 12 kB / 0.4905 GB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.1077, allocations: 7.984 kB / 0.4905 GB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003844/0.1081, allocations: 329.6 kB / 0.4908 GB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.1094, allocations: 1.238 MB / 0.492 GB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.1101, allocations: 0.4906 MB / 0.4925 GB, free: 68 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002988/0.1104, allocations: 185.3 kB / 0.4927 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/0.1116, allocations: 0.8897 MB / 0.4936 GB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000585/0.1122, allocations: 358.1 kB / 0.4939 GB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.1122, allocations: 0 / 0.4939 GB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.003564/0.1157, allocations: 1.087 MB / 0.495 GB, free: 13.42 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.1159, allocations: 199.9 kB / 0.4952 GB, free: 13.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.1162, allocations: 264.9 kB / 0.4954 GB, free: 12.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.858e-05/0.1163, allocations: 33.7 kB / 0.4955 GB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.1164, allocations: 160.7 kB / 0.4956 GB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1166, allocations: 111.1 kB / 0.4957 GB, free: 12.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.1167, allocations: 82.11 kB / 0.4958 GB, free: 12.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.1169, allocations: 334.8 kB / 0.4961 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.1173, allocations: 188.8 kB / 0.4963 GB, free: 12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000465/0.1177, allocations: 276.8 kB / 0.4966 GB, free: 11.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005348/0.1231, allocations: 1.408 MB / 0.4979 GB, free: 10.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.1231, allocations: 0 / 0.4979 GB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00204/0.1251, allocations: 0.817 MB / 0.4987 GB, free: 9.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.1252, allocations: 39.72 kB / 0.4988 GB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.1252, allocations: 4 kB / 0.4988 GB, free: 9.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/0.1266, allocations: 308.6 kB / 0.4991 GB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.1269, allocations: 63.91 kB / 0.4991 GB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004387/0.1312, allocations: 2.949 MB / 0.502 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.1316, allocations: 35.73 kB / 0.502 GB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.1316, allocations: 16 kB / 0.5021 GB, free: 5.848 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: lnFault.myFault.fault:DISCRETE(start = false fixed = true ) \"true means the fault is active\" type: Boolean lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) \"Real part of complex number\" type: Real lnFault.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) \"Imaginary part of complex number\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,lnFault.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im,lnFault.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003111/0.1319, allocations: 207.8 kB / 0.5022 GB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/0.132, allocations: 23.86 kB / 0.5023 GB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001876/0.1339, allocations: 0.7525 MB / 0.503 GB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1339, allocations: 3.938 kB / 0.503 GB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1339, allocations: 4 kB / 0.503 GB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1339, allocations: 3.984 kB / 0.503 GB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004941/0.1344, allocations: 465.2 kB / 0.5035 GB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1344, allocations: 4 kB / 0.5035 GB, free: 4.312 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1345, allocations: 31.92 kB / 0.5035 GB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001312/0.1358, allocations: 296.6 kB / 0.5038 GB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.1358, allocations: 11.94 kB / 0.5038 GB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/0.1401, allocations: 2.926 MB / 0.5066 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1401, allocations: 4 kB / 0.5067 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.1419, allocations: 0.7259 MB / 0.5074 GB, free: 152 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1421, allocations: 112.8 kB / 0.5075 GB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.1421, allocations: 8 kB / 0.5075 GB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.1423, allocations: 12.06 kB / 0.5075 GB, free: 16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.1425, allocations: 32.02 kB / 0.5075 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.325e-05/0.1425, allocations: 15.94 kB / 0.5075 GB, free: 15.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002245/0.1427, allocations: 188.5 kB / 0.5077 GB, free: 15.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1427, allocations: 4 kB / 0.5077 GB, free: 15.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005607/0.1433, allocations: 123.9 kB / 0.5078 GB, free: 15.64 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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,lnFault.myFault.Y.re,lnFault.myFault.Y.im,lnFault.myFault.fault) * Number of discrete states: 7 ($whenCondition4,lnFault.myFault.Y.im,lnFault.myFault.Y.re,$whenCondition3,$whenCondition2,lnFault.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002171/0.1454, allocations: 1.303 MB / 0.5091 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.147, allocations: 0.6893 MB / 0.5098 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.147, allocations: 4 kB / 0.5098 GB, free: 13.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009323/0.148, allocations: 470 kB / 0.5102 GB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.1482, allocations: 32.86 kB / 0.5103 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006863/0.1551, allocations: 3.927 MB / 0.5141 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.1555, allocations: 0.7647 MB / 0.5148 GB, free: 8.191 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1556, allocations: 26.28 kB / 0.5149 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.1558, allocations: 83.39 kB / 0.5149 GB, free: 8.086 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1558, allocations: 0 / 0.5149 GB, free: 8.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03905/0.1948, allocations: 9.506 MB / 0.5242 GB, free: 14.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.48, allocations: 11.12 kB / 0.5242 GB, free: 14.69 MB / 398.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault_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_OneSourceOneLigneWithFault.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.445932126007392] Failed to read output from testmodel.py, exit status != 0: 10.566142383002443 10.592852603 10.483742698 Calling exit ...