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.001337/0.001337, allocations: 113.8 kB / 17.88 MB, free: 5.051 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.001453/0.001453, allocations: 213.6 kB / 20.84 MB, free: 2.105 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.548/1.548, allocations: 230.6 MB / 254.2 MB, free: 15.11 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.0431/0.0431, allocations: 6.13 MB / 316.4 MB, free: 1.156 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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.23 kB / 439.9 MB, free: 40.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 54.98 MB / 494.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLoadWithBuses): time 0.002233/0.1062, allocations: 1.241 MB / 496.2 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1076, allocations: 1.31 MB / 497.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.909e-05/0.1076, allocations: 8 kB / 497.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.1079, allocations: 75.61 kB / 497.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1081, allocations: 47.62 kB / 497.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.1086, allocations: 334.6 kB / 497.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.1087, allocations: 119.5 kB / 498 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.1089, allocations: 50.08 kB / 498.1 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.1089, allocations: 55.84 kB / 498.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.109, allocations: 67.7 kB / 498.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1091, allocations: 12 kB / 498.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001788/0.1092, allocations: 115.9 kB / 498.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.1093, allocations: 23.92 kB / 498.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.1093, allocations: 67.66 kB / 498.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1096, allocations: 219.2 kB / 498.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1096, allocations: 0 / 498.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1096, allocations: 0 / 498.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1096, allocations: 0 / 498.6 MB, free: 6.758 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0008658/0.1104, allocations: 494.6 kB / 499.1 MB, free: 6.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1105, allocations: 8.031 kB / 499.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.727e-05/0.1105, allocations: 4.188 kB / 499.1 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.1105, allocations: 46.69 kB / 499.2 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.1106, allocations: 16.88 kB / 499.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.1107, allocations: 184.2 kB / 499.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1107, allocations: 8.375 kB / 499.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1107, allocations: 20.31 kB / 499.4 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.1109, allocations: 145.9 kB / 499.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1109, allocations: 0 / 499.6 MB, free: 5.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.111, allocations: 4 kB / 499.6 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.111, allocations: 4 kB / 499.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1111, allocations: 95.95 kB / 499.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005481/0.1116, allocations: 492.2 kB / 0.4884 GB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.1119, allocations: 106.6 kB / 0.4885 GB, free: 5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.1119, allocations: 20.86 kB / 0.4885 GB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.479e-05/0.112, allocations: 85.09 kB / 0.4886 GB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.1121, allocations: 34.56 kB / 0.4886 GB, free: 4.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.1121, allocations: 3.984 kB / 0.4887 GB, free: 4.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005152/0.1126, allocations: 223.5 kB / 0.4889 GB, free: 4.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.1126, allocations: 51.41 kB / 0.4889 GB, free: 4.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1127, allocations: 137.8 kB / 0.489 GB, free: 4.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.1127, allocations: 25.7 kB / 0.4891 GB, free: 4.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.1128, allocations: 126.6 kB / 0.4892 GB, free: 4.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.1128, allocations: 35.88 kB / 0.4892 GB, free: 4.184 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.1128, allocations: 29.7 kB / 0.4893 GB, free: 4.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.806e-05/0.1129, allocations: 318.8 kB / 0.4896 GB, free: 3.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.322e-05/0.1129, allocations: 27.98 kB / 0.4896 GB, free: 3.801 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.836e-05/0.1129, allocations: 31.92 kB / 0.4896 GB, free: 3.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.969e-05/0.113, allocations: 60.86 kB / 0.4897 GB, free: 3.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.113, allocations: 4.188 kB / 0.4897 GB, free: 3.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002258/0.1132, allocations: 138.3 kB / 0.4898 GB, free: 3.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1133, allocations: 8 kB / 0.4898 GB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1133, allocations: 0 / 0.4898 GB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002256/0.1135, allocations: 36.83 kB / 0.4899 GB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.1136, allocations: 23.86 kB / 0.4899 GB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008006/0.1144, allocations: 1.402 MB / 0.4912 GB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.1144, allocations: 15.92 kB / 0.4913 GB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1144, allocations: 0 / 0.4913 GB, free: 1.926 MB / 350.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 6.895e-05/0.1145, allocations: 134.3 kB / 0.4914 GB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.136e-05/0.1145, allocations: 0 / 0.4914 GB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.1148, allocations: 122.8 kB / 0.4915 GB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1148, allocations: 0 / 0.4915 GB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.1148, allocations: 0 / 0.4915 GB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1148, allocations: 0 / 0.4915 GB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.1149, allocations: 217.5 kB / 0.4917 GB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1149, allocations: 3.938 kB / 0.4917 GB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/0.115, allocations: 15.92 kB / 0.4917 GB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001423/0.1151, allocations: 36.84 kB / 0.4918 GB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1151, allocations: 7.984 kB / 0.4918 GB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007606/0.1159, allocations: 1.414 MB / 0.4932 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1159, allocations: 0 / 0.4932 GB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/0.1162, allocations: 204.4 kB / 0.4933 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.1162, allocations: 85.06 kB / 0.4934 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1163, allocations: 4 kB / 0.4934 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1164, allocations: 7.984 kB / 0.4934 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.873e-05/0.1164, allocations: 3.938 kB / 0.4934 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.1164, allocations: 8 kB / 0.4935 GB, free: 15.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1165, allocations: 111.2 kB / 0.4936 GB, free: 15.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1165, allocations: 0 / 0.4936 GB, free: 15.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003125/0.1168, allocations: 43.89 kB / 0.4936 GB, free: 15.28 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.0006616/0.1175, allocations: 0.7444 MB / 0.4943 GB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003889/0.1179, allocations: 178.7 kB / 0.4945 GB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1179, allocations: 192 / 0.4945 GB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.1181, allocations: 146.6 kB / 0.4946 GB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1184, allocations: 15.92 kB / 0.4947 GB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.1204, allocations: 1.618 MB / 0.4962 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.1208, allocations: 0.7041 MB / 0.4969 GB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.929e-05/0.1208, allocations: 8.656 kB / 0.4969 GB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.1209, allocations: 31.42 kB / 0.497 GB, free: 11.68 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1209, allocations: 4 kB / 0.497 GB, free: 11.67 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.1452, allocations: 2.987 MB / 0.4999 GB, free: 8.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.66, allocations: 6.344 kB / 0.4999 GB, free: 8.797 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.519226162985433] Failed to read output from testmodel.py, exit status != 0: 10.798756339994725 10.827623107 10.712538518 Calling exit ...