Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.00133/0.00133, 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.001483/0.001483, allocations: 217.8 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.03978/0.03978, allocations: 6.127 MB / 319.3 MB, free: 12.88 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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 444.4 MB, free: 5.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.111, allocations: 55.03 MB / 499.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002572/0.1135, allocations: 1.169 MB / 0.4889 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1154, allocations: 1.267 MB / 0.4901 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.1154, allocations: 4 kB / 0.4901 GB, free: 11.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.1157, allocations: 67.64 kB / 0.4902 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.1159, allocations: 51.62 kB / 0.4902 GB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007146/0.1166, allocations: 306.8 kB / 0.4905 GB, free: 11.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.1168, allocations: 131.4 kB / 0.4907 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.1169, allocations: 46.27 kB / 0.4907 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.117, allocations: 55.78 kB / 0.4908 GB, free: 10.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.1171, allocations: 55.7 kB / 0.4908 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.1172, allocations: 12 kB / 0.4908 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.1174, allocations: 111.9 kB / 0.4909 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.072e-05/0.1174, allocations: 23.91 kB / 0.491 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.1175, allocations: 47.8 kB / 0.491 GB, free: 10.74 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.1178, allocations: 223.2 kB / 0.4912 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1178, allocations: 0 / 0.4912 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1178, allocations: 4 kB / 0.4912 GB, free: 10.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1178, allocations: 0 / 0.4912 GB, free: 10.52 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009864/0.1188, allocations: 409.5 kB / 0.4916 GB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1189, allocations: 8.031 kB / 0.4916 GB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.335e-05/0.1189, allocations: 46.73 kB / 0.4917 GB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.662e-05/0.119, allocations: 12.89 kB / 0.4917 GB, free: 10.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.1192, allocations: 138.2 kB / 0.4918 GB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1192, allocations: 8.375 kB / 0.4918 GB, free: 9.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1192, allocations: 16.38 kB / 0.4918 GB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.1195, allocations: 189.6 kB / 0.492 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1195, allocations: 3.938 kB / 0.492 GB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.1195, allocations: 4 kB / 0.492 GB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1195, allocations: 4 kB / 0.492 GB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.1197, allocations: 95.97 kB / 0.4921 GB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007662/0.1205, allocations: 431.4 kB / 0.4925 GB, free: 9.051 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.1208, allocations: 94.69 kB / 0.4926 GB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.258e-05/0.1208, allocations: 24.84 kB / 0.4926 GB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.899e-05/0.1209, allocations: 8 kB / 0.4926 GB, free: 8.914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.121, allocations: 38.5 kB / 0.4927 GB, free: 8.867 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.121, allocations: 0 / 0.4927 GB, free: 8.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005956/0.1216, allocations: 154.6 kB / 0.4928 GB, free: 8.707 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.1216, allocations: 51.41 kB / 0.4929 GB, free: 8.645 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.1218, allocations: 133.8 kB / 0.493 GB, free: 8.504 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.1218, allocations: 29.7 kB / 0.493 GB, free: 8.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.9e-05/0.1219, allocations: 131.8 kB / 0.4932 GB, free: 8.336 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.1219, allocations: 23.8 kB / 0.4932 GB, free: 8.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.347e-05/0.122, allocations: 25.7 kB / 0.4932 GB, free: 8.281 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1221, allocations: 326.7 kB / 0.4935 GB, free: 7.953 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.864e-05/0.1222, allocations: 31.98 kB / 0.4935 GB, free: 7.922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.1222, allocations: 24 kB / 0.4936 GB, free: 7.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1223, allocations: 64.84 kB / 0.4936 GB, free: 7.832 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1223, allocations: 0 / 0.4936 GB, free: 7.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002917/0.1226, allocations: 142.5 kB / 0.4938 GB, free: 7.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1227, allocations: 4 kB / 0.4938 GB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1227, allocations: 0 / 0.4938 GB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/0.1229, allocations: 40.81 kB / 0.4938 GB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.123, allocations: 19.92 kB / 0.4938 GB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.1244, allocations: 1.311 MB / 0.4951 GB, free: 6.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.47e-05/0.1245, allocations: 15.98 kB / 0.4951 GB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.1245, allocations: 11.92 kB / 0.4951 GB, free: 6.164 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 (9): * Single equations (assignments): 8 * 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.0001199/0.1246, allocations: 121.8 kB / 0.4952 GB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.1247, allocations: 4 kB / 0.4953 GB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003005/0.125, allocations: 122.8 kB / 0.4954 GB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.125, allocations: 4 kB / 0.4954 GB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.125, allocations: 0 / 0.4954 GB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.125, allocations: 3.984 kB / 0.4954 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.1252, allocations: 180.7 kB / 0.4956 GB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1252, allocations: 4 kB / 0.4956 GB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.997e-05/0.1253, allocations: 8 kB / 0.4956 GB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/0.1254, allocations: 32.83 kB / 0.4956 GB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1254, allocations: 0 / 0.4956 GB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001257/0.1267, allocations: 1.311 MB / 0.4969 GB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1267, allocations: 0 / 0.4969 GB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.127, allocations: 204.2 kB / 0.4971 GB, free: 3.984 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.127, allocations: 19.88 kB / 0.4971 GB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.127, allocations: 0 / 0.4971 GB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1271, allocations: 4 kB / 0.4971 GB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.1272, allocations: 3.984 kB / 0.4971 GB, free: 3.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.1272, allocations: 8 kB / 0.4971 GB, free: 3.949 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1273, allocations: 109.6 kB / 0.4972 GB, free: 3.844 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1273, allocations: 4.094 kB / 0.4972 GB, free: 3.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.1276, allocations: 39.89 kB / 0.4972 GB, free: 3.801 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 (6): * Single equations (assignments): 5 * 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.0008178/0.1284, allocations: 0.7366 MB / 0.498 GB, free: 3.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004402/0.1289, allocations: 182.6 kB / 0.4981 GB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1289, allocations: 4 kB / 0.4981 GB, free: 2.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.1291, allocations: 147.4 kB / 0.4983 GB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1294, allocations: 15.92 kB / 0.4983 GB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.1315, allocations: 1.613 MB / 0.4999 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.283e-05/0.1316, allocations: 93.17 kB / 0.5 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.725e-05/0.1316, allocations: 12.66 kB / 0.5 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.1317, allocations: 31.42 kB / 0.5 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1317, allocations: 3.938 kB / 0.5 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.1669, allocations: 3.484 MB / 0.5034 GB, free: 13.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.72, allocations: 13.58 kB / 0.5034 GB, free: 13.46 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.451739334035665] Failed to read output from testmodel.py, exit status != 0: 11.826824130024761 12.037567137 11.722813358 Calling exit ...