Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.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.001786/0.001786, allocations: 108.3 kB / 17.16 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.001682/0.001682, allocations: 212.3 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.514/1.514, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.03726/0.03726, allocations: 6.13 MB / 315.7 MB, free: 1.176 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 54.67 kB / 439.2 MB, free: 40.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1129, allocations: 54.98 MB / 494.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.003242/0.1161, allocations: 2.838 MB / 497.1 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.1184, allocations: 1.722 MB / 498.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.1186, allocations: 8 kB / 498.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.1191, allocations: 178.9 kB / 499 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000506/0.1196, allocations: 226.5 kB / 499.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.1213, allocations: 1.233 MB / 0.4887 GB, free: 4.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.1217, allocations: 0.4977 MB / 0.4892 GB, free: 3.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.1219, allocations: 142.2 kB / 0.4893 GB, free: 3.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.122, allocations: 211.2 kB / 0.4895 GB, free: 3.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.1223, allocations: 250.9 kB / 0.4898 GB, free: 3.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.1223, allocations: 40 kB / 0.4898 GB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005174/0.1229, allocations: 291.8 kB / 0.4901 GB, free: 2.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.1229, allocations: 103.6 kB / 0.4902 GB, free: 2.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001446/0.1231, allocations: 246.7 kB / 0.4904 GB, free: 2.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006584/0.1237, allocations: 0.6928 MB / 0.4911 GB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1237, allocations: 4 kB / 0.4911 GB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1237, allocations: 0 / 0.4911 GB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.1237, allocations: 0 / 0.4911 GB, free: 1.801 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.005016/0.1288, allocations: 1.465 MB / 0.4925 GB, free: 288 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1288, allocations: 12.03 kB / 0.4925 GB, free: 276 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.836e-05/0.1289, allocations: 78.7 kB / 0.4926 GB, free: 188 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.129, allocations: 52.66 kB / 0.4927 GB, free: 136 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.1294, allocations: 343.6 kB / 0.493 GB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.1295, allocations: 37.38 kB / 0.493 GB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.1295, allocations: 48.38 kB / 0.4931 GB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000961/0.1305, allocations: 0.5659 MB / 0.4936 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.1305, allocations: 3.938 kB / 0.4936 GB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.1306, allocations: 16 kB / 0.4936 GB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.1306, allocations: 8 kB / 0.4936 GB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.1314, allocations: 475.8 kB / 0.4941 GB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.1342, allocations: 1.577 MB / 0.4956 GB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.1352, allocations: 0.5883 MB / 0.4962 GB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.1356, allocations: 228.8 kB / 0.4964 GB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.378e-05/0.1357, allocations: 15.98 kB / 0.4964 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1357, allocations: 46.44 kB / 0.4965 GB, free: 12.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.1357, allocations: 0 / 0.4965 GB, free: 12.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007457/0.1432, allocations: 1.799 MB / 0.4982 GB, free: 10.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.122e-05/0.1432, allocations: 118.8 kB / 0.4984 GB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.1436, allocations: 274.5 kB / 0.4986 GB, free: 9.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.1437, allocations: 37.7 kB / 0.4987 GB, free: 9.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1438, allocations: 205.4 kB / 0.4988 GB, free: 9.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.144, allocations: 154.6 kB / 0.499 GB, free: 9.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.1442, allocations: 110.2 kB / 0.4991 GB, free: 9.254 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1443, allocations: 342.8 kB / 0.4994 GB, free: 8.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004569/0.1448, allocations: 269 kB / 0.4997 GB, free: 8.648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005115/0.1453, allocations: 328.6 kB / 0.5 GB, free: 8.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009829/0.1463, allocations: 0.606 MB / 0.5006 GB, free: 7.711 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1463, allocations: 0 / 0.5006 GB, free: 7.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003654/0.15, allocations: 1.182 MB / 0.5017 GB, free: 6.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.15, allocations: 4 kB / 0.5017 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.15, allocations: 4 kB / 0.5018 GB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003867/0.1538, allocations: 0.7722 MB / 0.5025 GB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.1542, allocations: 87.89 kB / 0.5026 GB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007939/0.1622, allocations: 3.897 MB / 0.5064 GB, free: 1.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.1627, allocations: 59.55 kB / 0.5065 GB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.1627, allocations: 19.94 kB / 0.5065 GB, free: 1.543 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 (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.0002524/0.163, allocations: 168.4 kB / 0.5066 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/0.1631, allocations: 35.75 kB / 0.5067 GB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.1667, allocations: 1.136 MB / 0.5078 GB, free: 196 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.1667, allocations: 7.938 kB / 0.5078 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.1667, allocations: 0 / 0.5078 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.1667, allocations: 3.984 kB / 0.5078 GB, free: 184 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/0.171, allocations: 1.74 MB / 0.5095 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1711, allocations: 0 / 0.5095 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.1713, allocations: 55.91 kB / 0.5095 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003736/0.175, allocations: 0.7406 MB / 0.5103 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.1751, allocations: 15.94 kB / 0.5103 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007516/0.1826, allocations: 3.843 MB / 0.514 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1826, allocations: 0 / 0.514 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003511/0.1861, allocations: 1.157 MB / 0.5152 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001542/0.1863, allocations: 116.8 kB / 0.5153 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.1863, allocations: 11.98 kB / 0.5153 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003926/0.1867, allocations: 23.98 kB / 0.5153 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.1868, allocations: 40.39 kB / 0.5153 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.1869, allocations: 16 kB / 0.5154 GB, free: 8.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.1871, allocations: 190 kB / 0.5155 GB, free: 7.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1871, allocations: 0 / 0.5155 GB, free: 7.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007059/0.1878, allocations: 203.7 kB / 0.5157 GB, free: 7.793 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 (34): * Single equations (assignments): 33 * 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.004086/0.1919, allocations: 1.724 MB / 0.5174 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.1946, allocations: 0.9257 MB / 0.5183 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.1946, allocations: 0 / 0.5183 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.1966, allocations: 0.6101 MB / 0.5189 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.1971, allocations: 36.88 kB / 0.519 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.2082, allocations: 5.04 MB / 0.5239 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004908/0.2087, allocations: 0.8244 MB / 0.5247 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001918/0.2089, allocations: 46.92 kB / 0.5247 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002214/0.2091, allocations: 151.4 kB / 0.5249 GB, free: 14.26 MB / 398.1 MB Notification: Performance of SimCode: time 1.082e-06/0.2091, allocations: 4 kB / 0.5249 GB, free: 14.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04616/0.2553, allocations: 14.81 MB / 0.5393 GB, free: 15.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.45, allocations: 25.22 kB / 0.5394 GB, free: 15.67 MB / 414.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.180242950009415] Failed to read output from testmodel.py, exit status != 0: 12.547276857992983 12.562618808 12.43564122 Calling exit ...