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.001843/0.001843, allocations: 118.2 kB / 19.74 MB, free: 2.152 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.002498/0.002498, allocations: 216.8 kB / 23.05 MB, free: 4.996 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.0362/0.0362, allocations: 6.143 MB / 319.4 MB, free: 12.98 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.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.001505/0.001505, allocations: 47.91 kB / 444.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09948/0.101, allocations: 55.03 MB / 499.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses3): time 0.004082/0.1051, allocations: 2.846 MB / 0.4906 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.1077, allocations: 1.73 MB / 0.4923 GB, free: 9.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.1079, allocations: 8 kB / 0.4923 GB, free: 9.695 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004816/0.1084, allocations: 178.9 kB / 0.4925 GB, free: 9.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.1089, allocations: 230.5 kB / 0.4927 GB, free: 9.293 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.1112, allocations: 1.243 MB / 0.4939 GB, free: 8.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00069/0.1119, allocations: 0.4977 MB / 0.4944 GB, free: 7.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.1122, allocations: 142.8 kB / 0.4945 GB, free: 7.402 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.1124, allocations: 211.2 kB / 0.4947 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003506/0.1128, allocations: 250.9 kB / 0.495 GB, free: 6.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.215e-05/0.1128, allocations: 40 kB / 0.495 GB, free: 6.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.1134, allocations: 283.7 kB / 0.4953 GB, free: 6.633 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.1135, allocations: 111.5 kB / 0.4954 GB, free: 6.523 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.1137, allocations: 246.8 kB / 0.4956 GB, free: 6.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008578/0.1146, allocations: 0.7005 MB / 0.4963 GB, free: 5.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1146, allocations: 0 / 0.4963 GB, free: 5.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1146, allocations: 4 kB / 0.4963 GB, free: 5.574 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1146, allocations: 0 / 0.4963 GB, free: 5.574 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.005392/0.12, allocations: 1.386 MB / 0.4977 GB, free: 4.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.12, allocations: 8.031 kB / 0.4977 GB, free: 4.145 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.1201, allocations: 74.72 kB / 0.4977 GB, free: 4.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1202, allocations: 56.66 kB / 0.4978 GB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.1207, allocations: 289.2 kB / 0.4981 GB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.1207, allocations: 37.38 kB / 0.4981 GB, free: 3.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.1208, allocations: 48.38 kB / 0.4981 GB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000934/0.1217, allocations: 0.5659 MB / 0.4987 GB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1218, allocations: 3.938 kB / 0.4987 GB, free: 3.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.962e-05/0.1218, allocations: 19.98 kB / 0.4987 GB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1218, allocations: 12 kB / 0.4987 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007783/0.1226, allocations: 491.8 kB / 0.4992 GB, free: 2.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002804/0.1254, allocations: 1.538 MB / 0.5007 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009141/0.1263, allocations: 454.5 kB / 0.5011 GB, free: 464 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.1267, allocations: 232.8 kB / 0.5014 GB, free: 228 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.299e-05/0.1268, allocations: 11.92 kB / 0.5014 GB, free: 216 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.1268, allocations: 42.56 kB / 0.5014 GB, free: 164 kB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.703e-06/0.1268, allocations: 0 / 0.5014 GB, free: 164 kB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007202/0.134, allocations: 1.731 MB / 0.5031 GB, free: 14.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.1341, allocations: 110.8 kB / 0.5032 GB, free: 14.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003694/0.1345, allocations: 273.7 kB / 0.5035 GB, free: 14.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.1346, allocations: 37.7 kB / 0.5035 GB, free: 13.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1347, allocations: 205.4 kB / 0.5037 GB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.1349, allocations: 158.6 kB / 0.5039 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.1351, allocations: 110.3 kB / 0.504 GB, free: 13.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1352, allocations: 334.8 kB / 0.5043 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/0.1357, allocations: 277.2 kB / 0.5045 GB, free: 12.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.1362, allocations: 329.7 kB / 0.5049 GB, free: 12.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.1371, allocations: 0.6078 MB / 0.5054 GB, free: 11.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1371, allocations: 4.031 kB / 0.5055 GB, free: 11.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003615/0.1408, allocations: 1.188 MB / 0.5066 GB, free: 10.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1408, allocations: 4 kB / 0.5066 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1408, allocations: 0 / 0.5066 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003747/0.1445, allocations: 0.7695 MB / 0.5074 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.1449, allocations: 87.89 kB / 0.5075 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007694/0.1526, allocations: 3.807 MB / 0.5112 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.1531, allocations: 51.62 kB / 0.5112 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/0.1531, allocations: 23.98 kB / 0.5112 GB, free: 5.898 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.0002591/0.1534, allocations: 169.9 kB / 0.5114 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.1535, allocations: 35.75 kB / 0.5114 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/0.1571, allocations: 1.14 MB / 0.5126 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.1571, allocations: 7.938 kB / 0.5126 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.1571, allocations: 0 / 0.5126 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.1572, allocations: 3.984 kB / 0.5126 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/0.1614, allocations: 1.704 MB / 0.5142 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1614, allocations: 0 / 0.5142 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002337/0.1617, allocations: 59.92 kB / 0.5143 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003651/0.1653, allocations: 0.7382 MB / 0.515 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/0.1654, allocations: 15.94 kB / 0.515 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1955/0.3609, allocations: 3.741 MB / 0.5187 GB, free: 28.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.3609, allocations: 0 / 0.5187 GB, free: 28.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003261/0.3641, allocations: 1.161 MB / 0.5198 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.3642, allocations: 46.03 kB / 0.5198 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.3643, allocations: 11.89 kB / 0.5199 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.3647, allocations: 26.89 kB / 0.5199 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.3648, allocations: 42.02 kB / 0.5199 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-05/0.3649, allocations: 15.73 kB / 0.5199 GB, free: 28.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.3651, allocations: 189.2 kB / 0.5201 GB, free: 28.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3651, allocations: 0 / 0.5201 GB, free: 28.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006445/0.3657, allocations: 195.1 kB / 0.5203 GB, free: 28.42 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.003351/0.3691, allocations: 1.719 MB / 0.522 GB, free: 27.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.3715, allocations: 0.9343 MB / 0.5229 GB, free: 27.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3715, allocations: 1.438 kB / 0.5229 GB, free: 27.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.3732, allocations: 0.6181 MB / 0.5235 GB, free: 27.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.3736, allocations: 37.05 kB / 0.5235 GB, free: 27.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/0.3838, allocations: 5.053 MB / 0.5285 GB, free: 25.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3841, allocations: 0.8189 MB / 0.5293 GB, free: 24.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001957/0.3843, allocations: 55.34 kB / 0.5293 GB, free: 24.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.3845, allocations: 146.8 kB / 0.5295 GB, free: 24.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3845, allocations: 0 / 0.5295 GB, free: 24.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04984/0.4343, allocations: 15.2 MB / 0.5443 GB, free: 19.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.51, allocations: 14.62 kB / 0.5443 GB, free: 19.28 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.324709860004077] Failed to read output from testmodel.py, exit status != 0: 13.633840204005537 13.654562509 13.535830138 Calling exit ...