Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.001782/0.001782, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001998/0.001998, allocations: 217.1 kB / 23.03 MB, free: 5.016 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.941 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.03904/0.03904, allocations: 6.131 MB / 319.3 MB, free: 12.73 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 43.94 kB / 444.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1041, allocations: 55.02 MB / 499.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2): time 0.004005/0.1081, allocations: 2.346 MB / 0.49 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002638/0.1107, allocations: 1.625 MB / 0.4916 GB, free: 9.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002461/0.111, allocations: 8 kB / 0.4916 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.1115, allocations: 163 kB / 0.4918 GB, free: 9.773 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006636/0.1122, allocations: 218.6 kB / 0.492 GB, free: 9.559 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00234/0.1145, allocations: 1.12 MB / 0.4931 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007213/0.1152, allocations: 449.9 kB / 0.4935 GB, free: 7.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.1155, allocations: 110.3 kB / 0.4936 GB, free: 7.887 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.1158, allocations: 187.3 kB / 0.4938 GB, free: 7.703 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/0.1162, allocations: 203 kB / 0.494 GB, free: 7.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.372e-05/0.1163, allocations: 36 kB / 0.494 GB, free: 7.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005826/0.1169, allocations: 267.7 kB / 0.4943 GB, free: 7.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.546e-05/0.1169, allocations: 91.67 kB / 0.4944 GB, free: 7.117 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.1171, allocations: 179.1 kB / 0.4945 GB, free: 6.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009909/0.1181, allocations: 0.6499 MB / 0.4952 GB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1181, allocations: 0 / 0.4952 GB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1181, allocations: 0 / 0.4952 GB, free: 6.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.1182, allocations: 0 / 0.4952 GB, free: 6.289 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.005638/0.1238, allocations: 1.343 MB / 0.4965 GB, free: 4.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.1238, allocations: 12.02 kB / 0.4965 GB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.853e-05/0.1239, allocations: 74.72 kB / 0.4966 GB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.1241, allocations: 48.66 kB / 0.4966 GB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.1245, allocations: 273.3 kB / 0.4969 GB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.1245, allocations: 32.97 kB / 0.4969 GB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-05/0.1246, allocations: 40.38 kB / 0.4969 GB, free: 4.406 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.1257, allocations: 0.7226 MB / 0.4976 GB, free: 3.621 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1257, allocations: 11.94 kB / 0.4977 GB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.486e-05/0.1257, allocations: 12 kB / 0.4977 GB, free: 3.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.1258, allocations: 8 kB / 0.4977 GB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.1265, allocations: 458.5 kB / 0.4981 GB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.129, allocations: 1.202 MB / 0.4993 GB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/0.13, allocations: 474.4 kB / 0.4997 GB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/0.1304, allocations: 232.8 kB / 0.5 GB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.485e-05/0.1305, allocations: 11.98 kB / 0.5 GB, free: 1.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.1305, allocations: 42.5 kB / 0.5 GB, free: 1.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.194e-06/0.1305, allocations: 0 / 0.5 GB, free: 1.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007029/0.1375, allocations: 1.739 MB / 0.5017 GB, free: 15.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/0.1376, allocations: 110.8 kB / 0.5018 GB, free: 15.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003937/0.138, allocations: 273.8 kB / 0.5021 GB, free: 14.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.096e-05/0.1381, allocations: 37.69 kB / 0.5021 GB, free: 14.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1383, allocations: 184.9 kB / 0.5023 GB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001563/0.1384, allocations: 150.6 kB / 0.5024 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.1386, allocations: 106.3 kB / 0.5025 GB, free: 14.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1388, allocations: 338.8 kB / 0.5029 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.1393, allocations: 293.2 kB / 0.5031 GB, free: 13.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.1399, allocations: 397.1 kB / 0.5035 GB, free: 13.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.1409, allocations: 0.6352 MB / 0.5041 GB, free: 12.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1409, allocations: 0 / 0.5041 GB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003596/0.1445, allocations: 1.235 MB / 0.5053 GB, free: 11.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1446, allocations: 4 kB / 0.5053 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1446, allocations: 0 / 0.5053 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/0.1483, allocations: 0.7695 MB / 0.5061 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/0.1487, allocations: 91.89 kB / 0.5062 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008117/0.1568, allocations: 3.86 MB / 0.51 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/0.1573, allocations: 55.61 kB / 0.51 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.1574, allocations: 23.94 kB / 0.51 GB, free: 6.648 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.0002545/0.1576, allocations: 165.7 kB / 0.5102 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1577, allocations: 39.77 kB / 0.5102 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003614/0.1613, allocations: 1.183 MB / 0.5114 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.1614, allocations: 8 kB / 0.5114 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1614, allocations: 0 / 0.5114 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.1614, allocations: 3.984 kB / 0.5114 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/0.1656, allocations: 1.634 MB / 0.513 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1656, allocations: 3.938 kB / 0.513 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.1659, allocations: 63.91 kB / 0.5131 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003634/0.1695, allocations: 0.7422 MB / 0.5138 GB, free: 2.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.1695, allocations: 8 kB / 0.5138 GB, free: 2.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2042/0.3738, allocations: 3.813 MB / 0.5175 GB, free: 28.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3738, allocations: 3.625 kB / 0.5175 GB, free: 28.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.3769, allocations: 1.195 MB / 0.5187 GB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.961e-05/0.3769, allocations: 42.36 kB / 0.5187 GB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.377, allocations: 10.81 kB / 0.5187 GB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.3774, allocations: 26.47 kB / 0.5188 GB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.3775, allocations: 43.08 kB / 0.5188 GB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.3775, allocations: 17.34 kB / 0.5188 GB, free: 28.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.3777, allocations: 187.4 kB / 0.519 GB, free: 28.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3777, allocations: 3.375 kB / 0.519 GB, free: 28.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005777/0.3783, allocations: 192.5 kB / 0.5192 GB, free: 28.75 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 (35): * Single equations (assignments): 34 * 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.003375/0.3816, allocations: 1.757 MB / 0.5209 GB, free: 28.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0026/0.3842, allocations: 0.962 MB / 0.5218 GB, free: 27.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3842, allocations: 1.281 kB / 0.5218 GB, free: 27.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.386, allocations: 0.6423 MB / 0.5225 GB, free: 27.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3864, allocations: 44.44 kB / 0.5225 GB, free: 27.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009888/0.3963, allocations: 5.121 MB / 0.5275 GB, free: 25.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002053/0.3965, allocations: 204.8 kB / 0.5277 GB, free: 25.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.3967, allocations: 51.67 kB / 0.5278 GB, free: 25.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.3968, allocations: 136.6 kB / 0.5279 GB, free: 25.39 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3968, allocations: 2.656 kB / 0.5279 GB, free: 25.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04745/0.4443, allocations: 15.34 MB / 0.5429 GB, free: 19.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.48, allocations: 3.938 kB / 0.5429 GB, free: 19.96 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.291674891021103] Failed to read output from testmodel.py, exit status != 0: 13.605990319978446 13.623652677 13.502285854 Calling exit ...