Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.001312/0.001312, allocations: 101 kB / 20.52 MB, free: 1.449 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.00143/0.00143, allocations: 209.7 kB / 23.83 MB, free: 4.664 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.48/1.48, allocations: 230.6 MB / 257.6 MB, free: 8.008 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.03686/0.03686, allocations: 6.126 MB / 320.2 MB, free: 12.96 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.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 47.92 kB / 445.3 MB, free: 5.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1021, allocations: 55.03 MB / 0.4886 GB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.003091/0.1052, allocations: 1.592 MB / 0.4901 GB, free: 12.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.1076, allocations: 1.61 MB / 0.4917 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.325e-05/0.1077, allocations: 4 kB / 0.4917 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.108, allocations: 135.3 kB / 0.4918 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003466/0.1084, allocations: 147.1 kB / 0.492 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.1103, allocations: 1.027 MB / 0.493 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.1107, allocations: 242.8 kB / 0.4932 GB, free: 9.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1108, allocations: 56.78 kB / 0.4933 GB, free: 9.445 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.1109, allocations: 103.6 kB / 0.4934 GB, free: 9.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.1111, allocations: 119.5 kB / 0.4935 GB, free: 9.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.328e-05/0.1112, allocations: 20 kB / 0.4935 GB, free: 9.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.1116, allocations: 243.7 kB / 0.4937 GB, free: 8.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.1116, allocations: 55.83 kB / 0.4938 GB, free: 8.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.1118, allocations: 119.3 kB / 0.4939 GB, free: 8.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005401/0.1123, allocations: 418.6 kB / 0.4943 GB, free: 8.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.1123, allocations: 0 / 0.4943 GB, free: 8.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1123, allocations: 0 / 0.4943 GB, free: 8.387 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1123, allocations: 0 / 0.4943 GB, free: 8.387 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003646/0.116, allocations: 0.9379 MB / 0.4952 GB, free: 7.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.116, allocations: 12.03 kB / 0.4952 GB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.271e-05/0.116, allocations: 16.39 kB / 0.4952 GB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.198e-05/0.1161, allocations: 50.73 kB / 0.4953 GB, free: 7.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.708e-05/0.1162, allocations: 36.78 kB / 0.4953 GB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003114/0.1165, allocations: 194.8 kB / 0.4955 GB, free: 7.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.1165, allocations: 16.7 kB / 0.4955 GB, free: 7.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.34e-05/0.1165, allocations: 24.38 kB / 0.4956 GB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.117, allocations: 303.3 kB / 0.4958 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.117, allocations: 0 / 0.4958 GB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.1171, allocations: 8 kB / 0.4959 GB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1171, allocations: 4 kB / 0.4959 GB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.1175, allocations: 263.8 kB / 0.4961 GB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.1192, allocations: 0.9313 MB / 0.497 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.1198, allocations: 289.3 kB / 0.4973 GB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.12, allocations: 140.8 kB / 0.4974 GB, free: 5.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.1201, allocations: 4 kB / 0.4974 GB, free: 5.023 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1201, allocations: 38.56 kB / 0.4975 GB, free: 4.977 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.1201, allocations: 0 / 0.4975 GB, free: 4.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.00398/0.1241, allocations: 0.9861 MB / 0.4984 GB, free: 3.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/0.1242, allocations: 110.8 kB / 0.4985 GB, free: 3.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.1244, allocations: 210.7 kB / 0.4987 GB, free: 3.633 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.1244, allocations: 37.7 kB / 0.4988 GB, free: 3.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.769e-05/0.1245, allocations: 136.8 kB / 0.4989 GB, free: 3.453 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.1246, allocations: 95.2 kB / 0.499 GB, free: 3.359 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.1248, allocations: 69.62 kB / 0.4991 GB, free: 3.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1249, allocations: 334.8 kB / 0.4994 GB, free: 2.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.1252, allocations: 180.2 kB / 0.4996 GB, free: 2.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.1255, allocations: 210.5 kB / 0.4998 GB, free: 2.559 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.1261, allocations: 382.8 kB / 0.5001 GB, free: 2.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1261, allocations: 0 / 0.5001 GB, free: 2.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002174/0.1283, allocations: 0.7398 MB / 0.5008 GB, free: 1.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1283, allocations: 8 kB / 0.5008 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1283, allocations: 0 / 0.5008 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/0.1305, allocations: 420.4 kB / 0.5013 GB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000264/0.1308, allocations: 59.91 kB / 0.5013 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004691/0.1355, allocations: 2.637 MB / 0.5039 GB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.1358, allocations: 39.77 kB / 0.5039 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.1358, allocations: 8 kB / 0.5039 GB, free: 14.16 MB / 382.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 (33): * Single equations (assignments): 32 * 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 {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.136, allocations: 141.8 kB / 0.5041 GB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.1361, allocations: 23.86 kB / 0.5041 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.1382, allocations: 0.6794 MB / 0.5048 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1382, allocations: 4 kB / 0.5048 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1382, allocations: 0 / 0.5048 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.1382, allocations: 7.938 kB / 0.5048 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.1387, allocations: 368.3 kB / 0.5051 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1387, allocations: 0 / 0.5051 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1388, allocations: 43.91 kB / 0.5052 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/0.1409, allocations: 416.4 kB / 0.5056 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.1409, allocations: 4 kB / 0.5056 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004321/0.1453, allocations: 2.596 MB / 0.5081 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1453, allocations: 0 / 0.5081 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.1473, allocations: 0.7339 MB / 0.5088 GB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.1474, allocations: 31.78 kB / 0.5088 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.1474, allocations: 7.938 kB / 0.5088 GB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002776/0.1477, allocations: 27.92 kB / 0.5089 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.1478, allocations: 23.95 kB / 0.5089 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.1478, allocations: 15.94 kB / 0.5089 GB, free: 8.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.148, allocations: 158.8 kB / 0.5091 GB, free: 8.695 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.148, allocations: 0 / 0.5091 GB, free: 8.695 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000464/0.1484, allocations: 103.9 kB / 0.5092 GB, free: 8.594 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 (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 {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002442/0.1509, allocations: 1.287 MB / 0.5104 GB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.1524, allocations: 0.5843 MB / 0.511 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1524, allocations: 0 / 0.511 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.1535, allocations: 394.4 kB / 0.5114 GB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1538, allocations: 35.81 kB / 0.5114 GB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006798/0.1606, allocations: 3.486 MB / 0.5148 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.161, allocations: 0.7525 MB / 0.5155 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.1612, allocations: 29.92 kB / 0.5156 GB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.1613, allocations: 79.41 kB / 0.5156 GB, free: 1.793 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1613, allocations: 0 / 0.5156 GB, free: 1.793 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2344/0.3957, allocations: 9.961 MB / 0.5254 GB, free: 30.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.57, allocations: 8.375 kB / 0.5254 GB, free: 30.25 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoTransfosOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.29365020606201] Failed to read output from testmodel.py, exit status != 0: 13.744049035944045 13.765013402 13.648844351 Calling exit ...