Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.00187/0.00187, 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.002327/0.002327, allocations: 217.3 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.06151/0.06151, allocations: 6.148 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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 47.92 kB / 444.4 MB, free: 5.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1122, allocations: 55.03 MB / 499.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002915/0.1151, allocations: 1.043 MB / 0.4888 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.1172, allocations: 1.443 MB / 0.4902 GB, free: 11.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.1173, allocations: 8 kB / 0.4902 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004185/0.1177, allocations: 103.5 kB / 0.4903 GB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00028/0.118, allocations: 67.56 kB / 0.4903 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.1193, allocations: 0.5485 MB / 0.4909 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002779/0.1195, allocations: 135.3 kB / 0.491 GB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1197, allocations: 41.45 kB / 0.491 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/0.1197, allocations: 51.84 kB / 0.4911 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.1198, allocations: 67.62 kB / 0.4912 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.215e-05/0.1199, allocations: 8 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.1202, allocations: 155.9 kB / 0.4913 GB, free: 10.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.1202, allocations: 27.91 kB / 0.4913 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.1203, allocations: 55.67 kB / 0.4914 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.1207, allocations: 267.1 kB / 0.4916 GB, free: 9.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1207, allocations: 4 kB / 0.4917 GB, free: 9.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1207, allocations: 0 / 0.4917 GB, free: 9.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1207, allocations: 4 kB / 0.4917 GB, free: 9.926 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001549/0.1222, allocations: 0.521 MB / 0.4922 GB, free: 9.371 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1223, allocations: 12.03 kB / 0.4922 GB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.1223, allocations: 42.75 kB / 0.4922 GB, free: 9.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.1224, allocations: 20.78 kB / 0.4922 GB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.1226, allocations: 154.3 kB / 0.4924 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.1226, allocations: 16.61 kB / 0.4924 GB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1226, allocations: 12.38 kB / 0.4924 GB, free: 9.086 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.123, allocations: 197.7 kB / 0.4926 GB, free: 8.883 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.123, allocations: 3.938 kB / 0.4926 GB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.123, allocations: 8 kB / 0.4926 GB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.123, allocations: 0 / 0.4926 GB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.1233, allocations: 162.5 kB / 0.4928 GB, free: 8.715 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009037/0.1242, allocations: 0.4917 MB / 0.4932 GB, free: 8.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/0.1245, allocations: 150.5 kB / 0.4934 GB, free: 8.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.1246, allocations: 72.78 kB / 0.4935 GB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/0.1246, allocations: 0 / 0.4935 GB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1246, allocations: 38.56 kB / 0.4935 GB, free: 7.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 9.82e-07/0.1246, allocations: 0 / 0.4935 GB, free: 7.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009795/0.1256, allocations: 310.5 kB / 0.4938 GB, free: 7.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1257, allocations: 51.41 kB / 0.4938 GB, free: 7.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.1258, allocations: 173.7 kB / 0.494 GB, free: 7.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1259, allocations: 29.7 kB / 0.494 GB, free: 7.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.092e-05/0.1259, allocations: 116.3 kB / 0.4941 GB, free: 7.195 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.126, allocations: 55.58 kB / 0.4942 GB, free: 7.141 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.462e-05/0.1261, allocations: 45.69 kB / 0.4942 GB, free: 7.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1262, allocations: 322.8 kB / 0.4946 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1264, allocations: 91.97 kB / 0.4946 GB, free: 6.676 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001462/0.1265, allocations: 89.59 kB / 0.4947 GB, free: 6.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.1268, allocations: 200.4 kB / 0.4949 GB, free: 6.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1268, allocations: 0 / 0.4949 GB, free: 6.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005711/0.1274, allocations: 310.1 kB / 0.4952 GB, free: 6.082 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1274, allocations: 8 kB / 0.4952 GB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1274, allocations: 0 / 0.4952 GB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002739/0.1277, allocations: 52.81 kB / 0.4953 GB, free: 6.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.1279, allocations: 39.92 kB / 0.4953 GB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.1294, allocations: 1.439 MB / 0.4967 GB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.1296, allocations: 15.92 kB / 0.4967 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.1296, allocations: 4 kB / 0.4967 GB, free: 4.406 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 (22): * Single equations (assignments): 21 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.1297, allocations: 129.8 kB / 0.4969 GB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.1298, allocations: 11.91 kB / 0.4969 GB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.1303, allocations: 242.1 kB / 0.4971 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1303, allocations: 0 / 0.4971 GB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.1303, allocations: 8.094 kB / 0.4971 GB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1303, allocations: 3.984 kB / 0.4971 GB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.1306, allocations: 200.6 kB / 0.4973 GB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1306, allocations: 3.938 kB / 0.4973 GB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.857e-05/0.1307, allocations: 19.98 kB / 0.4973 GB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002128/0.1309, allocations: 56.75 kB / 0.4974 GB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1309, allocations: 0 / 0.4974 GB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.1323, allocations: 1.424 MB / 0.4988 GB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1323, allocations: 4.031 kB / 0.4988 GB, free: 2.137 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004762/0.1328, allocations: 304.2 kB / 0.4991 GB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.1328, allocations: 19.84 kB / 0.4991 GB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1329, allocations: 8.141 kB / 0.4991 GB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.133, allocations: 7.938 kB / 0.4991 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.133, allocations: 7.984 kB / 0.4991 GB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.133, allocations: 4 kB / 0.4991 GB, free: 1.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1332, allocations: 134.1 kB / 0.4992 GB, free: 1.645 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1332, allocations: 0 / 0.4992 GB, free: 1.645 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.1335, allocations: 48 kB / 0.4993 GB, free: 1.598 MB / 366.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 (12): * Single equations (assignments): 11 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008768/0.1344, allocations: 0.8536 MB / 0.5001 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006816/0.135, allocations: 306.5 kB / 0.5004 GB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.135, allocations: 0 / 0.5004 GB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.1354, allocations: 202.6 kB / 0.5006 GB, free: 196 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1357, allocations: 8 kB / 0.5006 GB, free: 188 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.1384, allocations: 2.103 MB / 0.5027 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.176e-05/0.1385, allocations: 89.62 kB / 0.5027 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.877e-05/0.1386, allocations: 16.62 kB / 0.5028 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.66e-05/0.1387, allocations: 39.42 kB / 0.5028 GB, free: 13.84 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1387, allocations: 0 / 0.5028 GB, free: 13.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03301/0.1717, allocations: 4.466 MB / 0.5072 GB, free: 9.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.79, allocations: 11.48 kB / 0.5072 GB, free: 9.488 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource_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_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.755298715084791] Failed to read output from testmodel.py, exit status != 0: 11.898851179052144 12.097741598 11.97436632 Calling exit ...