Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.001752/0.001752, 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.001882/0.001882, allocations: 219.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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.03926/0.03926, allocations: 6.132 MB / 319.4 MB, free: 12.81 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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 51.92 kB / 444.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1079, allocations: 55.02 MB / 499.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002573/0.1105, allocations: 1.144 MB / 0.4888 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002172/0.1126, allocations: 1.489 MB / 0.4903 GB, free: 11.4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.444e-05/0.1127, allocations: 0 / 0.4903 GB, free: 11.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003474/0.1131, allocations: 103.5 kB / 0.4904 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.1134, allocations: 107.4 kB / 0.4905 GB, free: 11.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00187/0.1153, allocations: 0.9165 MB / 0.4914 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.1155, allocations: 159.2 kB / 0.4916 GB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1157, allocations: 37.94 kB / 0.4916 GB, free: 10.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.86e-05/0.1158, allocations: 75.66 kB / 0.4917 GB, free: 10 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.1159, allocations: 67.69 kB / 0.4917 GB, free: 9.938 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.116, allocations: 12 kB / 0.4917 GB, free: 9.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004438/0.1164, allocations: 231.7 kB / 0.492 GB, free: 9.699 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.896e-05/0.1165, allocations: 31.91 kB / 0.492 GB, free: 9.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.376e-05/0.1166, allocations: 63.66 kB / 0.492 GB, free: 9.605 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005555/0.1171, allocations: 338.9 kB / 0.4924 GB, free: 9.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1171, allocations: 4 kB / 0.4924 GB, free: 9.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1171, allocations: 0 / 0.4924 GB, free: 9.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.1171, allocations: 0 / 0.4924 GB, free: 9.27 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.002387/0.1195, allocations: 0.6572 MB / 0.493 GB, free: 8.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1196, allocations: 8.031 kB / 0.493 GB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.722e-05/0.1197, allocations: 46.73 kB / 0.4931 GB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.1197, allocations: 24.8 kB / 0.4931 GB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.12, allocations: 160 kB / 0.4932 GB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.12, allocations: 16.61 kB / 0.4933 GB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.1201, allocations: 12.38 kB / 0.4933 GB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.1205, allocations: 311.1 kB / 0.4936 GB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1205, allocations: 7.922 kB / 0.4936 GB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.1206, allocations: 8 kB / 0.4936 GB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1206, allocations: 3.938 kB / 0.4936 GB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.1209, allocations: 163.9 kB / 0.4937 GB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.1223, allocations: 0.5385 MB / 0.4943 GB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.1228, allocations: 190.4 kB / 0.4945 GB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.1229, allocations: 84.84 kB / 0.4945 GB, free: 6.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.611e-05/0.123, allocations: 3.984 kB / 0.4945 GB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.123, allocations: 38.56 kB / 0.4946 GB, free: 6.855 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.123, allocations: 0 / 0.4946 GB, free: 6.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002181/0.1252, allocations: 0.5061 MB / 0.4951 GB, free: 6.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.1253, allocations: 81.11 kB / 0.4951 GB, free: 6.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.1255, allocations: 178.1 kB / 0.4953 GB, free: 6.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1255, allocations: 33.64 kB / 0.4953 GB, free: 6.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.959e-05/0.1256, allocations: 120.4 kB / 0.4955 GB, free: 5.898 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.1257, allocations: 59.52 kB / 0.4955 GB, free: 5.84 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.1258, allocations: 45.7 kB / 0.4956 GB, free: 5.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1259, allocations: 326.8 kB / 0.4959 GB, free: 5.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.1261, allocations: 108 kB / 0.496 GB, free: 5.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.1263, allocations: 151.4 kB / 0.4961 GB, free: 5.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.1267, allocations: 234 kB / 0.4963 GB, free: 4.965 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1268, allocations: 0 / 0.4963 GB, free: 4.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001642/0.1284, allocations: 426.1 kB / 0.4968 GB, free: 4.539 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/0.1284, allocations: 4 kB / 0.4968 GB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1284, allocations: 0 / 0.4968 GB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.1299, allocations: 200.6 kB / 0.4969 GB, free: 4.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.1302, allocations: 47.91 kB / 0.497 GB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/0.1341, allocations: 1.848 MB / 0.4988 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.1344, allocations: 27.88 kB / 0.4988 GB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.1345, allocations: 8 kB / 0.4988 GB, free: 2.293 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.1347, allocations: 125.8 kB / 0.499 GB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.1347, allocations: 19.83 kB / 0.499 GB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/0.1362, allocations: 379.4 kB / 0.4993 GB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.1362, allocations: 11.92 kB / 0.4993 GB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1362, allocations: 3.938 kB / 0.4993 GB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.1362, allocations: 3.984 kB / 0.4994 GB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.1367, allocations: 228.6 kB / 0.4996 GB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1367, allocations: 4 kB / 0.4996 GB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.1368, allocations: 27.98 kB / 0.4996 GB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/0.1382, allocations: 200.6 kB / 0.4998 GB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.665e-05/0.1382, allocations: 3.984 kB / 0.4998 GB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/0.1418, allocations: 1.818 MB / 0.5016 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1418, allocations: 0 / 0.5016 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.1432, allocations: 455.9 kB / 0.502 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1433, allocations: 27.77 kB / 0.502 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.1433, allocations: 0 / 0.502 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.1436, allocations: 15.98 kB / 0.502 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.1437, allocations: 19.98 kB / 0.5021 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.1437, allocations: 4 kB / 0.5021 GB, free: 14.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.1439, allocations: 135.2 kB / 0.5022 GB, free: 14.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1439, allocations: 0 / 0.5022 GB, free: 14.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005858/0.1445, allocations: 63.95 kB / 0.5023 GB, free: 14.58 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 (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001997/0.1465, allocations: 0.9931 MB / 0.5032 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.1479, allocations: 390.5 kB / 0.5036 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.1479, allocations: 0 / 0.5036 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008411/0.1488, allocations: 274.5 kB / 0.5039 GB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000467/0.1492, allocations: 19.94 kB / 0.5039 GB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/0.1551, allocations: 2.511 MB / 0.5063 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.1553, allocations: 115.4 kB / 0.5064 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.1554, allocations: 21.41 kB / 0.5065 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.1555, allocations: 47.42 kB / 0.5065 GB, free: 10.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1555, allocations: 0 / 0.5065 GB, free: 10.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/0.2002, allocations: 6.707 MB / 0.5131 GB, free: 3.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/12.79, allocations: 3.984 kB / 0.5131 GB, free: 3.516 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.58669281937182] Failed to read output from testmodel.py, exit status != 0: 12.913809326011688 13.107114463 12.987165771 Calling exit ...