Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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.001754/0.001754, allocations: 110.8 kB / 17.17 MB, free: 5.855 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.002265/0.002265, allocations: 212 kB / 20.14 MB, free: 2.898 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.628/1.628, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.0391/0.0391, allocations: 6.14 MB / 315.7 MB, free: 1.121 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.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoThreeLines",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 50.34 kB / 439.2 MB, free: 40.92 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 54.99 MB / 494.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.003253/0.1166, allocations: 2.708 MB / 496.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002311/0.1189, allocations: 1.812 MB / 498.7 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1191, allocations: 8 kB / 498.8 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004608/0.1195, allocations: 183 kB / 498.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.12, allocations: 250.4 kB / 499.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001602/0.1216, allocations: 1.093 MB / 0.4885 GB, free: 4.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005887/0.1222, allocations: 0.5015 MB / 0.489 GB, free: 4.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000241/0.1224, allocations: 116.3 kB / 0.4891 GB, free: 3.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.1226, allocations: 219.2 kB / 0.4894 GB, free: 3.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.1228, allocations: 254.9 kB / 0.4896 GB, free: 3.445 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.151e-05/0.1229, allocations: 40 kB / 0.4896 GB, free: 3.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004952/0.1234, allocations: 267.8 kB / 0.4899 GB, free: 3.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.139e-05/0.1234, allocations: 99.61 kB / 0.49 GB, free: 3.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.1236, allocations: 250.7 kB / 0.4902 GB, free: 2.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006931/0.1243, allocations: 0.6732 MB / 0.4909 GB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1243, allocations: 0 / 0.4909 GB, free: 2.125 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1243, allocations: 0 / 0.4909 GB, free: 2.125 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.1243, allocations: 0 / 0.4909 GB, free: 2.125 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.006152/0.1305, allocations: 1.68 MB / 0.4925 GB, free: 400 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/0.1305, allocations: 16.02 kB / 0.4925 GB, free: 384 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.777e-05/0.1306, allocations: 70.72 kB / 0.4926 GB, free: 304 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.1307, allocations: 56.61 kB / 0.4927 GB, free: 248 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.1312, allocations: 360.1 kB / 0.493 GB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.1312, allocations: 41.38 kB / 0.493 GB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.22e-05/0.1313, allocations: 44.38 kB / 0.4931 GB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.1324, allocations: 0.6008 MB / 0.4937 GB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1324, allocations: 4 kB / 0.4937 GB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-05/0.1325, allocations: 16 kB / 0.4937 GB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1325, allocations: 8 kB / 0.4937 GB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/0.1335, allocations: 0.5428 MB / 0.4942 GB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003196/0.1366, allocations: 1.61 MB / 0.4958 GB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.138, allocations: 0.8145 MB / 0.4966 GB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/0.1386, allocations: 350.5 kB / 0.4969 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001876/0.1405, allocations: 1.342 MB / 0.4982 GB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.1405, allocations: 42.98 kB / 0.4983 GB, free: 10.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.1405, allocations: 0 / 0.4983 GB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.01081/0.1513, allocations: 2.623 MB / 0.5008 GB, free: 7.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.421e-05/0.1514, allocations: 111.2 kB / 0.5009 GB, free: 7.438 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004244/0.1519, allocations: 333.5 kB / 0.5013 GB, free: 7.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.573e-05/0.1519, allocations: 41.7 kB / 0.5013 GB, free: 7.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1521, allocations: 213.4 kB / 0.5015 GB, free: 6.844 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.1523, allocations: 190.3 kB / 0.5017 GB, free: 6.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.1526, allocations: 146.6 kB / 0.5018 GB, free: 6.508 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1528, allocations: 350.8 kB / 0.5022 GB, free: 6.156 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006785/0.1535, allocations: 401.8 kB / 0.5025 GB, free: 5.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/0.1543, allocations: 0.5089 MB / 0.503 GB, free: 5.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.1558, allocations: 0.9415 MB / 0.504 GB, free: 4.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1558, allocations: 0 / 0.504 GB, free: 4.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.005123/0.1609, allocations: 1.766 MB / 0.5057 GB, free: 2.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.161, allocations: 4 kB / 0.5057 GB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.161, allocations: 4 kB / 0.5057 GB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005248/0.1662, allocations: 1.092 MB / 0.5068 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.1668, allocations: 119.8 kB / 0.5069 GB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.1773, allocations: 5.234 MB / 0.512 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.1779, allocations: 79.45 kB / 0.5121 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.178, allocations: 28 kB / 0.5121 GB, free: 11.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (70): * Single equations (assignments): 69 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002844/0.1783, allocations: 178.3 kB / 0.5123 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.1784, allocations: 43.72 kB / 0.5123 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005028/0.1835, allocations: 1.597 MB / 0.5139 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.1835, allocations: 8 kB / 0.5139 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/0.1835, allocations: 4 kB / 0.5139 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.1835, allocations: 3.984 kB / 0.5139 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009743/0.1845, allocations: 0.6659 MB / 0.5145 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.1845, allocations: 0 / 0.5145 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.1847, allocations: 71.84 kB / 0.5146 GB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005094/0.1898, allocations: 1.022 MB / 0.5156 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.19, allocations: 12 kB / 0.5156 GB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.2004, allocations: 5.22 MB / 0.5207 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.2004, allocations: 0 / 0.5207 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004901/0.2053, allocations: 1.596 MB / 0.5223 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.2055, allocations: 120.7 kB / 0.5224 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.419e-05/0.2055, allocations: 12 kB / 0.5224 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.2059, allocations: 23.98 kB / 0.5224 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.2061, allocations: 60.42 kB / 0.5225 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.2062, allocations: 19.98 kB / 0.5225 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002842/0.2065, allocations: 223.2 kB / 0.5227 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2065, allocations: 0 / 0.5227 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008521/0.2073, allocations: 239.8 kB / 0.5229 GB, free: 420 kB / 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 (39): * Single equations (assignments): 38 * 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 {(10,14,58.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005294/0.2126, allocations: 2.164 MB / 0.525 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00331/0.2159, allocations: 1.247 MB / 0.5263 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.2159, allocations: 0 / 0.5263 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00229/0.2182, allocations: 0.7804 MB / 0.527 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.2187, allocations: 42.78 kB / 0.5271 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01493/0.2336, allocations: 6.641 MB / 0.5335 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.2341, allocations: 0.8332 MB / 0.5344 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000233/0.2344, allocations: 63.25 kB / 0.5344 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.2346, allocations: 147.4 kB / 0.5346 GB, free: 4.277 MB / 398.1 MB Notification: Performance of SimCode: time 1.313e-06/0.2346, allocations: 0 / 0.5346 GB, free: 4.277 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05311/0.2877, allocations: 17.68 MB / 0.5518 GB, free: 2.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.99, allocations: 13.08 kB / 0.5518 GB, free: 2.762 MB / 414.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines_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_OneSourceOneTransfoOneLineOneTransfoThreeLines.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.991994454001542] Failed to read output from testmodel.py, exit status != 0: 11.080188769003144 11.103086801 10.974615352 Calling exit ...