Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.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.001358/0.001358, 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.002909/0.002909, 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.489/1.489, 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.03831/0.03831, allocations: 6.137 MB / 319.4 MB, free: 12.74 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.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneTransfoOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 47.92 kB / 444.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1136, allocations: 55.01 MB / 499.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.003787/0.1174, allocations: 1.989 MB / 0.4897 GB, free: 11.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.1202, allocations: 1.653 MB / 0.4913 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002209/0.1204, allocations: 8 kB / 0.4913 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.1209, allocations: 151.1 kB / 0.4914 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007541/0.1217, allocations: 210.7 kB / 0.4916 GB, free: 9.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.1242, allocations: 1.12 MB / 0.4927 GB, free: 8.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007091/0.1249, allocations: 410 kB / 0.4931 GB, free: 8.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.1251, allocations: 79.62 kB / 0.4932 GB, free: 8.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.1253, allocations: 163.4 kB / 0.4934 GB, free: 8.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.1256, allocations: 179.1 kB / 0.4935 GB, free: 7.977 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.09e-05/0.1257, allocations: 32 kB / 0.4936 GB, free: 7.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006202/0.1263, allocations: 263.7 kB / 0.4938 GB, free: 7.688 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.011e-05/0.1264, allocations: 79.69 kB / 0.4939 GB, free: 7.609 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.1266, allocations: 155.2 kB / 0.494 GB, free: 7.457 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008915/0.1275, allocations: 0.5877 MB / 0.4946 GB, free: 6.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1275, allocations: 4 kB / 0.4946 GB, free: 6.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1275, allocations: 0 / 0.4946 GB, free: 6.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1275, allocations: 0 / 0.4946 GB, free: 6.863 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.005411/0.1329, allocations: 1.308 MB / 0.4959 GB, free: 5.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.133, allocations: 8.031 kB / 0.4959 GB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.1331, allocations: 66.72 kB / 0.496 GB, free: 5.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.1332, allocations: 44.66 kB / 0.496 GB, free: 5.395 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.1337, allocations: 257.4 kB / 0.4963 GB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.1338, allocations: 29.03 kB / 0.4963 GB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.1338, allocations: 32.38 kB / 0.4963 GB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1349, allocations: 0.668 MB / 0.497 GB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1349, allocations: 3.938 kB / 0.497 GB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/0.135, allocations: 23.94 kB / 0.497 GB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.135, allocations: 8 kB / 0.497 GB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.1358, allocations: 438.4 kB / 0.4974 GB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00255/0.1384, allocations: 1.115 MB / 0.4985 GB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.1394, allocations: 490.4 kB / 0.499 GB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.1398, allocations: 256.7 kB / 0.4992 GB, free: 1.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.404e-05/0.1399, allocations: 11.92 kB / 0.4992 GB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.14, allocations: 38.56 kB / 0.4993 GB, free: 1.906 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.256e-06/0.14, allocations: 0 / 0.4993 GB, free: 1.906 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.007376/0.1474, allocations: 1.829 MB / 0.5011 GB, free: 68 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.1475, allocations: 106.8 kB / 0.5012 GB, free: 15.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.1479, allocations: 269.8 kB / 0.5014 GB, free: 15.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.901e-05/0.1479, allocations: 37.7 kB / 0.5014 GB, free: 15.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1481, allocations: 169 kB / 0.5016 GB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.1483, allocations: 150.7 kB / 0.5018 GB, free: 15.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.1485, allocations: 106.3 kB / 0.5019 GB, free: 15.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.1486, allocations: 342.8 kB / 0.5022 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.1491, allocations: 301.2 kB / 0.5025 GB, free: 14.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000606/0.1497, allocations: 409 kB / 0.5029 GB, free: 14.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.1508, allocations: 0.6586 MB / 0.5035 GB, free: 13.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1508, allocations: 0 / 0.5035 GB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003628/0.1544, allocations: 1.247 MB / 0.5047 GB, free: 12.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1545, allocations: 7.938 kB / 0.5047 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1545, allocations: 3.984 kB / 0.5047 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003657/0.1581, allocations: 0.7723 MB / 0.5055 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.1585, allocations: 83.89 kB / 0.5056 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/0.1666, allocations: 3.986 MB / 0.5095 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.1671, allocations: 67.48 kB / 0.5095 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.261e-05/0.1671, allocations: 16 kB / 0.5095 GB, free: 7.176 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.0002659/0.1674, allocations: 169.7 kB / 0.5097 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/0.1675, allocations: 31.81 kB / 0.5097 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/0.1711, allocations: 1.199 MB / 0.5109 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.1712, allocations: 4 kB / 0.5109 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1712, allocations: 3.938 kB / 0.5109 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.1712, allocations: 0 / 0.5109 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.1718, allocations: 436.7 kB / 0.5113 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1718, allocations: 0 / 0.5113 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.1721, allocations: 63.91 kB / 0.5114 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003569/0.1756, allocations: 0.746 MB / 0.5121 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.178e-05/0.1757, allocations: 8 kB / 0.5121 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007729/0.1835, allocations: 3.928 MB / 0.516 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1835, allocations: 0 / 0.516 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2003/0.3838, allocations: 1.213 MB / 0.5171 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.3839, allocations: 38.97 kB / 0.5172 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.447e-05/0.384, allocations: 13.12 kB / 0.5172 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.3844, allocations: 23.84 kB / 0.5172 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.3845, allocations: 35.61 kB / 0.5172 GB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.3845, allocations: 22.89 kB / 0.5173 GB, free: 30.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001786/0.3847, allocations: 190.3 kB / 0.5175 GB, free: 30.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3847, allocations: 0 / 0.5175 GB, free: 30.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006763/0.3854, allocations: 175.9 kB / 0.5176 GB, free: 30.04 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.003399/0.3888, allocations: 1.779 MB / 0.5194 GB, free: 29.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002504/0.3913, allocations: 0.9827 MB / 0.5203 GB, free: 29.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3913, allocations: 0 / 0.5203 GB, free: 29.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.3931, allocations: 0.6523 MB / 0.521 GB, free: 29.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.3936, allocations: 39.88 kB / 0.521 GB, free: 29.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.404, allocations: 5.183 MB / 0.5261 GB, free: 27.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.4042, allocations: 192.1 kB / 0.5262 GB, free: 27.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.4044, allocations: 58.83 kB / 0.5263 GB, free: 27.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.4046, allocations: 124.5 kB / 0.5264 GB, free: 27.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4046, allocations: 0 / 0.5264 GB, free: 27.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04847/0.4531, allocations: 15.55 MB / 0.5416 GB, free: 21.7 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.58, allocations: 13.17 kB / 0.5416 GB, free: 21.69 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad_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_OneSourceOneLineOneTransfoOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.41931198630482] Failed to read output from testmodel.py, exit status != 0: 13.706953415181488 13.718486823 13.588628548 Calling exit ...