Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.001276/0.001276, allocations: 109.4 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.001472/0.001472, allocations: 211.2 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.562/1.562, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.03701/0.03701, allocations: 6.127 MB / 315.7 MB, free: 1.109 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.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 46.31 kB / 439.2 MB, free: 40.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09391, allocations: 54.98 MB / 494.2 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.00229/0.0962, allocations: 1.732 MB / 495.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.09772, allocations: 1.637 MB / 497.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.586e-05/0.09781, allocations: 4 kB / 497.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.09812, allocations: 131.3 kB / 497.7 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002784/0.0984, allocations: 151.1 kB / 497.9 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.09976, allocations: 1.054 MB / 498.9 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.1, allocations: 266.7 kB / 499.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1001, allocations: 68.86 kB / 499.2 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.1002, allocations: 115.6 kB / 499.4 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1003, allocations: 131.5 kB / 499.5 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.1004, allocations: 20 kB / 499.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.1007, allocations: 255.7 kB / 499.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.302e-05/0.1007, allocations: 51.77 kB / 499.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.51e-05/0.1008, allocations: 135.3 kB / 499.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000413/0.1012, allocations: 458.4 kB / 0.4887 GB, free: 4.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1012, allocations: 0 / 0.4887 GB, free: 4.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1012, allocations: 0 / 0.4887 GB, free: 4.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.1012, allocations: 0 / 0.4887 GB, free: 4.27 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.003822/0.1051, allocations: 1.13 MB / 0.4898 GB, free: 3.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.1051, allocations: 8.031 kB / 0.4898 GB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.032e-05/0.1052, allocations: 58.67 kB / 0.4898 GB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.283e-05/0.1052, allocations: 24.8 kB / 0.4899 GB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.1054, allocations: 279.7 kB / 0.4901 GB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1055, allocations: 20.73 kB / 0.4901 GB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.913e-05/0.1055, allocations: 28.38 kB / 0.4902 GB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.1059, allocations: 344 kB / 0.4905 GB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.106, allocations: 3.938 kB / 0.4905 GB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.106, allocations: 4 kB / 0.4905 GB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.106, allocations: 4 kB / 0.4905 GB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003591/0.1064, allocations: 299.2 kB / 0.4908 GB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.1077, allocations: 0.9372 MB / 0.4917 GB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.1084, allocations: 346.7 kB / 0.492 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.1086, allocations: 156.8 kB / 0.4922 GB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007134/0.1093, allocations: 0.7093 MB / 0.4929 GB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1093, allocations: 38.8 kB / 0.4929 GB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.1093, allocations: 0 / 0.4929 GB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003821/0.1132, allocations: 1.126 MB / 0.494 GB, free: 14.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.1132, allocations: 106.8 kB / 0.4941 GB, free: 14.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.1135, allocations: 228.9 kB / 0.4943 GB, free: 14.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.1136, allocations: 37.7 kB / 0.4944 GB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1137, allocations: 148.8 kB / 0.4945 GB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.29e-05/0.1138, allocations: 99.16 kB / 0.4946 GB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.1139, allocations: 86.06 kB / 0.4947 GB, free: 13.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1141, allocations: 334.8 kB / 0.495 GB, free: 13.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.1144, allocations: 192.8 kB / 0.4952 GB, free: 13.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.1148, allocations: 271.2 kB / 0.4954 GB, free: 12.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/0.1155, allocations: 476.8 kB / 0.4959 GB, free: 12.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.1155, allocations: 4 kB / 0.4959 GB, free: 12.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002263/0.1178, allocations: 0.8026 MB / 0.4967 GB, free: 11.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.1178, allocations: 8 kB / 0.4967 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.1178, allocations: 0 / 0.4967 GB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/0.12, allocations: 417.3 kB / 0.4971 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.1204, allocations: 75.89 kB / 0.4972 GB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005983/0.1264, allocations: 4.008 MB / 0.5011 GB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.1268, allocations: 51.69 kB / 0.5011 GB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.1269, allocations: 16 kB / 0.5011 GB, free: 6.801 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002514/0.1271, allocations: 150.3 kB / 0.5013 GB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-05/0.1272, allocations: 27.81 kB / 0.5013 GB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.1294, allocations: 0.7243 MB / 0.502 GB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1294, allocations: 8 kB / 0.502 GB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.1294, allocations: 0 / 0.502 GB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1294, allocations: 3.938 kB / 0.502 GB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004954/0.1299, allocations: 421.1 kB / 0.5024 GB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1299, allocations: 0 / 0.5024 GB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1301, allocations: 35.98 kB / 0.5025 GB, free: 5.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/0.1322, allocations: 417.4 kB / 0.5029 GB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.1322, allocations: 8 kB / 0.5029 GB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005928/0.1382, allocations: 4.012 MB / 0.5068 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1382, allocations: 0 / 0.5068 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.1403, allocations: 0.7707 MB / 0.5075 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1404, allocations: 108.8 kB / 0.5077 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.1405, allocations: 7.953 kB / 0.5077 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.1407, allocations: 19.98 kB / 0.5077 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.1408, allocations: 24.05 kB / 0.5077 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.1409, allocations: 8 kB / 0.5077 GB, free: 15.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002132/0.1411, allocations: 168.4 kB / 0.5079 GB, free: 15.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1411, allocations: 0 / 0.5079 GB, free: 15.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000613/0.1417, allocations: 111.9 kB / 0.508 GB, free: 15.4 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00254/0.1442, allocations: 1.336 MB / 0.5093 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.1461, allocations: 0.7163 MB / 0.51 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1461, allocations: 0 / 0.51 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.1473, allocations: 0.4975 MB / 0.5105 GB, free: 12.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.1476, allocations: 31.11 kB / 0.5105 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/0.1549, allocations: 3.717 MB / 0.5141 GB, free: 8.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.1553, allocations: 0.761 MB / 0.5149 GB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001407/0.1555, allocations: 38.27 kB / 0.5149 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.1556, allocations: 91.33 kB / 0.515 GB, free: 8 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1556, allocations: 0 / 0.515 GB, free: 8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0405/0.1961, allocations: 9.172 MB / 0.524 GB, free: 14.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.4, allocations: 6.828 kB / 0.524 GB, free: 14.96 MB / 398.1 MB " [Timeout remaining time 650] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo_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_OneSourceOneTransfoOneLineOneTransfo.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.231845643007546] Failed to read output from testmodel.py, exit status != 0: 10.492111908999505 10.519188379 10.413082578 Calling exit ...