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.001246/0.001246, allocations: 114.9 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.001357/0.001357, allocations: 212.5 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.543/1.543, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.0399/0.0399, allocations: 6.136 MB / 316.4 MB, free: 1.121 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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 53.83 kB / 439.9 MB, free: 40.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1072, allocations: 54.98 MB / 494.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.002234/0.1094, allocations: 1.242 MB / 496.2 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.111, allocations: 1.551 MB / 497.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.039e-05/0.1111, allocations: 4 kB / 497.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003281/0.1115, allocations: 111.5 kB / 497.8 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000309/0.1118, allocations: 103.4 kB / 497.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.1132, allocations: 0.9997 MB / 498.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1135, allocations: 155.2 kB / 499.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.1136, allocations: 33.83 kB / 499.1 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.59e-05/0.1137, allocations: 67.77 kB / 499.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001472/0.1138, allocations: 87.55 kB / 499.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1139, allocations: 12 kB / 499.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.1143, allocations: 239.8 kB / 499.5 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.1143, allocations: 35.84 kB / 499.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.939e-05/0.1144, allocations: 75.61 kB / 499.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004462/0.1148, allocations: 342.9 kB / 500 MB, free: 5.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1148, allocations: 0 / 500 MB, free: 5.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1148, allocations: 0 / 500 MB, free: 5.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1148, allocations: 0 / 500 MB, free: 5.43 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002335/0.1172, allocations: 0.7326 MB / 0.4889 GB, free: 4.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1172, allocations: 8.031 kB / 0.489 GB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.977e-05/0.1172, allocations: 4.422 kB / 0.489 GB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.1173, allocations: 46.73 kB / 0.489 GB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.1173, allocations: 20.8 kB / 0.489 GB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1176, allocations: 230.9 kB / 0.4892 GB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1176, allocations: 8.609 kB / 0.4893 GB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.1176, allocations: 12.38 kB / 0.4893 GB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.1179, allocations: 213.2 kB / 0.4895 GB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1179, allocations: 3.938 kB / 0.4895 GB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.118, allocations: 4 kB / 0.4895 GB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.118, allocations: 4 kB / 0.4895 GB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002128/0.1182, allocations: 155.9 kB / 0.4896 GB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009732/0.1191, allocations: 0.7255 MB / 0.4903 GB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/0.1196, allocations: 186.5 kB / 0.4905 GB, free: 2.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.1197, allocations: 84.78 kB / 0.4906 GB, free: 2.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.628e-05/0.1198, allocations: 7.984 kB / 0.4906 GB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1198, allocations: 38.56 kB / 0.4906 GB, free: 2.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.1198, allocations: 0 / 0.4906 GB, free: 2.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001961/0.1218, allocations: 0.588 MB / 0.4912 GB, free: 2.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1218, allocations: 81.11 kB / 0.4913 GB, free: 2.051 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.122, allocations: 172.6 kB / 0.4915 GB, free: 1.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.122, allocations: 29.7 kB / 0.4915 GB, free: 1.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.1221, allocations: 116.5 kB / 0.4916 GB, free: 1.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.1221, allocations: 59.52 kB / 0.4917 GB, free: 1.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.894e-05/0.1222, allocations: 53.69 kB / 0.4917 GB, free: 1.605 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.1223, allocations: 326.8 kB / 0.492 GB, free: 1.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1224, allocations: 104 kB / 0.4921 GB, free: 1.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.1225, allocations: 129.8 kB / 0.4922 GB, free: 1.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/0.1228, allocations: 228.8 kB / 0.4925 GB, free: 0.8164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1228, allocations: 4 kB / 0.4925 GB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00096/0.1238, allocations: 422.5 kB / 0.4929 GB, free: 400 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1238, allocations: 4 kB / 0.4929 GB, free: 396 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1238, allocations: 0 / 0.4929 GB, free: 396 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.1248, allocations: 196.6 kB / 0.4931 GB, free: 196 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.125, allocations: 47.91 kB / 0.4931 GB, free: 148 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.1283, allocations: 1.957 MB / 0.495 GB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.1285, allocations: 27.78 kB / 0.495 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.1285, allocations: 11.97 kB / 0.495 GB, free: 14 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.00018/0.1287, allocations: 134.3 kB / 0.4952 GB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.1288, allocations: 15.89 kB / 0.4952 GB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.13, allocations: 373 kB / 0.4955 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.13, allocations: 15.88 kB / 0.4956 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.13, allocations: 0 / 0.4956 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.13, allocations: 4 kB / 0.4956 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.1304, allocations: 301.4 kB / 0.4959 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1304, allocations: 0 / 0.4959 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1305, allocations: 20 kB / 0.4959 GB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001052/0.1315, allocations: 204.6 kB / 0.4961 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1316, allocations: 0 / 0.4961 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.1343, allocations: 1.965 MB / 0.498 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1343, allocations: 3.938 kB / 0.498 GB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.1353, allocations: 447.9 kB / 0.4984 GB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.136e-05/0.1354, allocations: 92.95 kB / 0.4985 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.1355, allocations: 4 kB / 0.4985 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1357, allocations: 11.98 kB / 0.4985 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.1357, allocations: 15.98 kB / 0.4985 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1357, allocations: 7.938 kB / 0.4985 GB, free: 10.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.1359, allocations: 137.8 kB / 0.4987 GB, free: 10.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1359, allocations: 0 / 0.4987 GB, free: 10.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.1363, allocations: 67.89 kB / 0.4987 GB, free: 9.977 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 (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.001537/0.1378, allocations: 0.9812 MB / 0.4997 GB, free: 8.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.1389, allocations: 394.6 kB / 0.5001 GB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1389, allocations: 0 / 0.5001 GB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006657/0.1396, allocations: 278.5 kB / 0.5003 GB, free: 8.285 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1399, allocations: 19.94 kB / 0.5004 GB, free: 8.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.1443, allocations: 2.499 MB / 0.5028 GB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1447, allocations: 0.7203 MB / 0.5035 GB, free: 4.934 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.1448, allocations: 37.47 kB / 0.5035 GB, free: 4.898 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.542e-05/0.1449, allocations: 43.42 kB / 0.5036 GB, free: 4.855 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1449, allocations: 0 / 0.5036 GB, free: 4.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0301/0.175, allocations: 6.232 MB / 0.5097 GB, free: 14.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.4, allocations: 11.75 kB / 0.5097 GB, free: 14.73 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.220473556022625] Failed to read output from testmodel.py, exit status != 0: 12.554009613988455 12.576049291 12.456862261 Calling exit ...