Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.00179/0.00179, 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.002536/0.002536, allocations: 213.1 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.586/1.586, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.04358/0.04358, allocations: 6.132 MB / 315.7 MB, free: 1.148 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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 48.39 kB / 439.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09372, allocations: 54.98 MB / 494.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad): time 0.002897/0.09662, allocations: 2.237 MB / 496.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.09864, allocations: 1.723 MB / 498.2 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.09886, allocations: 8 kB / 498.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.09937, allocations: 155.1 kB / 498.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.09993, allocations: 210.7 kB / 498.5 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.1017, allocations: 1.217 MB / 499.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000407/0.1021, allocations: 402.1 kB / 0.4884 GB, free: 4.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.1023, allocations: 87.22 kB / 0.4885 GB, free: 4.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1024, allocations: 175.3 kB / 0.4887 GB, free: 4.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.1026, allocations: 203.1 kB / 0.4889 GB, free: 4.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.1026, allocations: 32 kB / 0.4889 GB, free: 4.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.1031, allocations: 275.7 kB / 0.4892 GB, free: 3.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.925e-05/0.1031, allocations: 79.67 kB / 0.4892 GB, free: 3.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1033, allocations: 187.1 kB / 0.4894 GB, free: 3.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005183/0.1038, allocations: 0.5877 MB / 0.49 GB, free: 2.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1038, allocations: 0 / 0.49 GB, free: 2.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1038, allocations: 0 / 0.49 GB, free: 2.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1038, allocations: 0 / 0.49 GB, free: 2.91 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004829/0.1086, allocations: 1.38 MB / 0.4913 GB, free: 1.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.1087, allocations: 8.031 kB / 0.4914 GB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.246e-05/0.1087, allocations: 70.7 kB / 0.4914 GB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.1088, allocations: 44.66 kB / 0.4915 GB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.1091, allocations: 327.7 kB / 0.4918 GB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1091, allocations: 24.94 kB / 0.4918 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.1092, allocations: 32.38 kB / 0.4918 GB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005828/0.1098, allocations: 476.9 kB / 0.4923 GB, free: 464 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1098, allocations: 7.938 kB / 0.4923 GB, free: 456 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.967e-05/0.1098, allocations: 12 kB / 0.4923 GB, free: 444 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1098, allocations: 11.94 kB / 0.4923 GB, free: 432 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.1103, allocations: 430 kB / 0.4927 GB, free: 0 / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.1129, allocations: 1.383 MB / 0.4941 GB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.1138, allocations: 474.4 kB / 0.4945 GB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.1142, allocations: 244.8 kB / 0.4948 GB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.647e-05/0.1143, allocations: 19.92 kB / 0.4948 GB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.1143, allocations: 42.56 kB / 0.4948 GB, free: 13.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.814e-06/0.1143, allocations: 0 / 0.4948 GB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007386/0.1217, allocations: 1.846 MB / 0.4966 GB, free: 11.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.1218, allocations: 110.8 kB / 0.4967 GB, free: 11.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003902/0.1222, allocations: 274.7 kB / 0.497 GB, free: 11.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.35e-05/0.1223, allocations: 37.7 kB / 0.497 GB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.1224, allocations: 161 kB / 0.4972 GB, free: 11.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.1226, allocations: 150.7 kB / 0.4973 GB, free: 11.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.1228, allocations: 110.2 kB / 0.4974 GB, free: 11.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.123, allocations: 338.8 kB / 0.4978 GB, free: 10.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.1234, allocations: 297 kB / 0.498 GB, free: 10.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.124, allocations: 352.6 kB / 0.4984 GB, free: 10.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.125, allocations: 0.649 MB / 0.499 GB, free: 9.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.125, allocations: 0 / 0.499 GB, free: 9.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003728/0.1287, allocations: 1.249 MB / 0.5002 GB, free: 8.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.1288, allocations: 7.938 kB / 0.5002 GB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1288, allocations: 0 / 0.5002 GB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003889/0.1327, allocations: 0.7841 MB / 0.501 GB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.1331, allocations: 87.89 kB / 0.5011 GB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008656/0.1418, allocations: 4.182 MB / 0.5052 GB, free: 2.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.1423, allocations: 51.62 kB / 0.5052 GB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-05/0.1424, allocations: 20.14 kB / 0.5052 GB, free: 2.848 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.0002471/0.1426, allocations: 161.7 kB / 0.5054 GB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-05/0.1427, allocations: 31.81 kB / 0.5054 GB, free: 2.648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.1464, allocations: 1.202 MB / 0.5066 GB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.1464, allocations: 7.938 kB / 0.5066 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1464, allocations: 8 kB / 0.5066 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.1464, allocations: 3.984 kB / 0.5066 GB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007044/0.1471, allocations: 0.5599 MB / 0.5072 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1471, allocations: 0 / 0.5072 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.1474, allocations: 63.91 kB / 0.5072 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003751/0.1511, allocations: 0.7485 MB / 0.508 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/0.1512, allocations: 11.94 kB / 0.508 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008081/0.1593, allocations: 4.138 MB / 0.512 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1593, allocations: 3.938 kB / 0.512 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003671/0.1629, allocations: 1.211 MB / 0.5132 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.1631, allocations: 124.7 kB / 0.5133 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.1632, allocations: 8 kB / 0.5133 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.1636, allocations: 23.98 kB / 0.5133 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.1638, allocations: 44.31 kB / 0.5134 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.1638, allocations: 16 kB / 0.5134 GB, free: 10.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.1641, allocations: 190 kB / 0.5136 GB, free: 10.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1641, allocations: 0 / 0.5136 GB, free: 10.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007254/0.1648, allocations: 175.9 kB / 0.5137 GB, free: 9.891 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 (36): * Single equations (assignments): 35 * 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.004071/0.1689, allocations: 1.789 MB / 0.5155 GB, free: 8.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00273/0.1716, allocations: 0.9841 MB / 0.5165 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.1716, allocations: 0 / 0.5165 GB, free: 7.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001864/0.1734, allocations: 0.6492 MB / 0.5171 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004338/0.1739, allocations: 38.39 kB / 0.5171 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01087/0.1848, allocations: 5.155 MB / 0.5222 GB, free: 1.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.1853, allocations: 0.7935 MB / 0.5229 GB, free: 312 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002497/0.1855, allocations: 54.92 kB / 0.523 GB, free: 260 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.1857, allocations: 123.4 kB / 0.5231 GB, free: 136 kB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1857, allocations: 0 / 0.5231 GB, free: 136 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04792/0.2337, allocations: 15.31 MB / 0.5381 GB, free: 1.047 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.36, allocations: 18.59 kB / 0.5381 GB, free: 1.035 MB / 398.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad_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_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.256101393009885] Failed to read output from testmodel.py, exit status != 0: 12.46296965199872 12.484732849 12.376752191 Calling exit ...