Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.001841/0.001841, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.002433/0.002433, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.576/1.576, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.04571/0.04571, allocations: 6.127 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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 53.59 kB / 439.9 MB, free: 40.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09868/0.1002, allocations: 54.97 MB / 494.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002569/0.1027, allocations: 1.576 MB / 496.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1045, allocations: 1.598 MB / 498.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-05/0.1046, allocations: 8 kB / 498.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.105, allocations: 135.2 kB / 498.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.1053, allocations: 139.1 kB / 498.4 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.107, allocations: 1.163 MB / 499.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.1073, allocations: 238.9 kB / 499.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.1075, allocations: 56.53 kB / 499.8 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.099e-05/0.1076, allocations: 99.64 kB / 499.9 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.1078, allocations: 127.4 kB / 0.4883 GB, free: 5.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.1078, allocations: 20 kB / 0.4883 GB, free: 5.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003901/0.1082, allocations: 259.8 kB / 0.4886 GB, free: 5.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.1082, allocations: 55.77 kB / 0.4886 GB, free: 5.016 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1083, allocations: 111.5 kB / 0.4887 GB, free: 4.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.1089, allocations: 434.5 kB / 0.4892 GB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1089, allocations: 0 / 0.4892 GB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1089, allocations: 4 kB / 0.4892 GB, free: 4.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.1089, allocations: 0 / 0.4892 GB, free: 4.477 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003006/0.1119, allocations: 0.9234 MB / 0.4901 GB, free: 3.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1119, allocations: 12.03 kB / 0.4901 GB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.508e-05/0.1119, allocations: 4.516 kB / 0.4901 GB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.55e-05/0.112, allocations: 50.73 kB / 0.4901 GB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.212e-05/0.112, allocations: 24.8 kB / 0.4902 GB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.1123, allocations: 260.8 kB / 0.4904 GB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.1123, allocations: 16.7 kB / 0.4904 GB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/0.1123, allocations: 16.38 kB / 0.4904 GB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.1127, allocations: 302.4 kB / 0.4907 GB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1127, allocations: 4 kB / 0.4907 GB, free: 2.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.1128, allocations: 4 kB / 0.4907 GB, free: 2.758 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.1128, allocations: 4 kB / 0.4907 GB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003223/0.1131, allocations: 251.8 kB / 0.491 GB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.1143, allocations: 0.9284 MB / 0.4919 GB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.1148, allocations: 278.4 kB / 0.4921 GB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.115, allocations: 138.6 kB / 0.4923 GB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.1151, allocations: 12 kB / 0.4923 GB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.1151, allocations: 34.56 kB / 0.4923 GB, free: 1.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.734e-06/0.1151, allocations: 3.938 kB / 0.4923 GB, free: 1.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.002994/0.1181, allocations: 0.9489 MB / 0.4933 GB, free: 52 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.578e-05/0.1182, allocations: 85.05 kB / 0.4933 GB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.1184, allocations: 205.6 kB / 0.4935 GB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/0.1185, allocations: 29.7 kB / 0.4936 GB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.1186, allocations: 132.9 kB / 0.4937 GB, free: 15.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/0.1187, allocations: 87.22 kB / 0.4938 GB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.1188, allocations: 69.64 kB / 0.4938 GB, free: 15.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.119, allocations: 334.8 kB / 0.4942 GB, free: 15.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.1192, allocations: 164 kB / 0.4943 GB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.1195, allocations: 199.2 kB / 0.4945 GB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005997/0.1201, allocations: 365.1 kB / 0.4949 GB, free: 14.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1201, allocations: 0 / 0.4949 GB, free: 14.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001982/0.1221, allocations: 0.6885 MB / 0.4955 GB, free: 13.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1221, allocations: 4 kB / 0.4955 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.1222, allocations: 0 / 0.4955 GB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00195/0.1241, allocations: 380.5 kB / 0.4959 GB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.1244, allocations: 51.91 kB / 0.4959 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/0.1294, allocations: 2.756 MB / 0.4986 GB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002844/0.1297, allocations: 31.77 kB / 0.4987 GB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.1297, allocations: 12 kB / 0.4987 GB, free: 10.29 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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001952/0.1299, allocations: 138.4 kB / 0.4988 GB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/0.13, allocations: 27.73 kB / 0.4988 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/0.1319, allocations: 0.6482 MB / 0.4995 GB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1319, allocations: 0 / 0.4995 GB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.1319, allocations: 0 / 0.4995 GB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.132, allocations: 7.984 kB / 0.4995 GB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.1324, allocations: 389.3 kB / 0.4998 GB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1324, allocations: 4 kB / 0.4998 GB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.1326, allocations: 35.98 kB / 0.4999 GB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001824/0.1344, allocations: 372.4 kB / 0.5002 GB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.1344, allocations: 7.938 kB / 0.5002 GB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004627/0.139, allocations: 2.711 MB / 0.5029 GB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1391, allocations: 320 / 0.5029 GB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.1409, allocations: 0.6987 MB / 0.5036 GB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.572e-05/0.141, allocations: 100.9 kB / 0.5037 GB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.141, allocations: 4 kB / 0.5037 GB, free: 4.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.1413, allocations: 15.98 kB / 0.5037 GB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.1414, allocations: 27.97 kB / 0.5037 GB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.269e-05/0.1414, allocations: 4 kB / 0.5037 GB, free: 4.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1416, allocations: 151.2 kB / 0.5039 GB, free: 4.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1416, allocations: 0 / 0.5039 GB, free: 4.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004957/0.1421, allocations: 95.94 kB / 0.504 GB, free: 4.621 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 (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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002244/0.1443, allocations: 1.252 MB / 0.5052 GB, free: 3.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001841/0.1461, allocations: 0.6168 MB / 0.5058 GB, free: 2.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.1461, allocations: 8 kB / 0.5058 GB, free: 2.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.1474, allocations: 430.3 kB / 0.5062 GB, free: 2.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.1478, allocations: 20 kB / 0.5062 GB, free: 2.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006637/0.1544, allocations: 3.359 MB / 0.5095 GB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.1549, allocations: 0.7484 MB / 0.5102 GB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001454/0.155, allocations: 33.92 kB / 0.5103 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.1552, allocations: 67.41 kB / 0.5103 GB, free: 13.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.303e-06/0.1552, allocations: 0 / 0.5103 GB, free: 13.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03199/0.1872, allocations: 8.885 MB / 0.519 GB, free: 5.211 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.57, allocations: 12.06 kB / 0.519 GB, free: 5.203 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.46750410302775] Failed to read output from testmodel.py, exit status != 0: 12.726159334008116 12.742084222 12.630345808 Calling exit ...