Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.001293/0.001293, 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.002766/0.002766, allocations: 211.5 kB / 23.84 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.497/1.497, allocations: 230.6 MB / 257.6 MB, free: 7.98 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.03865/0.03865, allocations: 6.13 MB / 320.2 MB, free: 12.93 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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 44.08 kB / 445.3 MB, free: 5.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1036, allocations: 55.02 MB / 0.4886 GB, free: 14.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.002766/0.1064, allocations: 1.382 MB / 0.4899 GB, free: 12.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1087, allocations: 1.583 MB / 0.4915 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.426e-05/0.1088, allocations: 0 / 0.4915 GB, free: 11.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.1091, allocations: 115.4 kB / 0.4916 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.1094, allocations: 99.38 kB / 0.4917 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.111, allocations: 0.8947 MB / 0.4926 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.1113, allocations: 187 kB / 0.4927 GB, free: 9.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1115, allocations: 46.06 kB / 0.4928 GB, free: 9.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1116, allocations: 79.72 kB / 0.4929 GB, free: 9.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.1118, allocations: 107.5 kB / 0.493 GB, free: 9.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.1118, allocations: 16 kB / 0.493 GB, free: 9.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003982/0.1122, allocations: 203.8 kB / 0.4932 GB, free: 9.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.142e-05/0.1122, allocations: 43.84 kB / 0.4932 GB, free: 9.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.1123, allocations: 91.52 kB / 0.4933 GB, free: 9.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.1128, allocations: 354.8 kB / 0.4936 GB, free: 9.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1128, allocations: 3.938 kB / 0.4936 GB, free: 9.031 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1128, allocations: 0 / 0.4936 GB, free: 9.031 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.1128, allocations: 8 kB / 0.4936 GB, free: 9.023 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001822/0.1147, allocations: 0.6066 MB / 0.4942 GB, free: 8.379 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1147, allocations: 8.031 kB / 0.4942 GB, free: 8.371 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.941e-05/0.1147, allocations: 8.469 kB / 0.4943 GB, free: 8.363 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.1148, allocations: 46.73 kB / 0.4943 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.1148, allocations: 24.8 kB / 0.4943 GB, free: 8.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1151, allocations: 170.3 kB / 0.4945 GB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.1151, allocations: 12.66 kB / 0.4945 GB, free: 8.082 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.1151, allocations: 12.38 kB / 0.4945 GB, free: 8.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.1155, allocations: 224.9 kB / 0.4947 GB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1155, allocations: 7.922 kB / 0.4947 GB, free: 7.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.1156, allocations: 4 kB / 0.4947 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1156, allocations: 4 kB / 0.4947 GB, free: 7.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.1161, allocations: 212.8 kB / 0.4949 GB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.1178, allocations: 0.8215 MB / 0.4957 GB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008165/0.1186, allocations: 278.5 kB / 0.496 GB, free: 6.441 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.1188, allocations: 120.8 kB / 0.4961 GB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.1188, allocations: 4 kB / 0.4961 GB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.1189, allocations: 42.56 kB / 0.4962 GB, free: 6.266 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.1189, allocations: 0 / 0.4962 GB, free: 6.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=23): time 0.002202/0.1211, allocations: 0.6461 MB / 0.4968 GB, free: 5.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.1211, allocations: 55.41 kB / 0.4969 GB, free: 5.547 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.1213, allocations: 182.9 kB / 0.497 GB, free: 5.359 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.1214, allocations: 29.7 kB / 0.4971 GB, free: 5.324 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.1215, allocations: 124.6 kB / 0.4972 GB, free: 5.199 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.1215, allocations: 83.2 kB / 0.4973 GB, free: 5.117 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1216, allocations: 61.69 kB / 0.4973 GB, free: 5.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1218, allocations: 326.8 kB / 0.4976 GB, free: 4.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.122, allocations: 128 kB / 0.4977 GB, free: 4.598 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.1222, allocations: 124 kB / 0.4979 GB, free: 4.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.1226, allocations: 281.9 kB / 0.4981 GB, free: 4.199 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1226, allocations: 0 / 0.4981 GB, free: 4.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001049/0.1237, allocations: 478 kB / 0.4986 GB, free: 3.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1237, allocations: 10.95 kB / 0.4986 GB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1237, allocations: 4 kB / 0.4986 GB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007814/0.1245, allocations: 180.6 kB / 0.4988 GB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.1246, allocations: 43.97 kB / 0.4988 GB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003278/0.1279, allocations: 2.241 MB / 0.501 GB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.1281, allocations: 23.78 kB / 0.501 GB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.1281, allocations: 12 kB / 0.501 GB, free: 1.098 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 (23): * Single equations (assignments): 22 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.1282, allocations: 133.8 kB / 0.5012 GB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.1283, allocations: 15.91 kB / 0.5012 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.1294, allocations: 456 kB / 0.5016 GB, free: 496 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1294, allocations: 4 kB / 0.5016 GB, free: 492 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.1294, allocations: 0 / 0.5016 GB, free: 492 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1294, allocations: 0 / 0.5016 GB, free: 492 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.1308, allocations: 0.8186 MB / 0.5024 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1308, allocations: 3.938 kB / 0.5024 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.84e-05/0.1309, allocations: 31.92 kB / 0.5025 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007059/0.1316, allocations: 180.6 kB / 0.5026 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.1317, allocations: 8.094 kB / 0.5026 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/0.1347, allocations: 2.237 MB / 0.5048 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1347, allocations: 0 / 0.5048 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.1358, allocations: 0.5124 MB / 0.5053 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.1358, allocations: 27.8 kB / 0.5053 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.1358, allocations: 4 kB / 0.5053 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.136, allocations: 14.66 kB / 0.5054 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.1361, allocations: 19.95 kB / 0.5054 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1361, allocations: 12 kB / 0.5054 GB, free: 12.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.1363, allocations: 131.2 kB / 0.5055 GB, free: 12.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1363, allocations: 0 / 0.5055 GB, free: 12.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004288/0.1367, allocations: 83.94 kB / 0.5056 GB, free: 12.21 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 (16): * Single equations (assignments): 15 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001507/0.1382, allocations: 1.067 MB / 0.5066 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1394, allocations: 483.1 kB / 0.5071 GB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1394, allocations: 0 / 0.5071 GB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007286/0.1402, allocations: 330.4 kB / 0.5074 GB, free: 10.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.1405, allocations: 23.98 kB / 0.5074 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004669/0.1452, allocations: 2.742 MB / 0.5101 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.1457, allocations: 0.7251 MB / 0.5108 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.961e-05/0.1458, allocations: 37.64 kB / 0.5109 GB, free: 6.664 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1459, allocations: 55.59 kB / 0.5109 GB, free: 6.609 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1459, allocations: 0 / 0.5109 GB, free: 6.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2262/0.3721, allocations: 7.277 MB / 0.518 GB, free: 30.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.5, allocations: 9.969 kB / 0.518 GB, free: 30.37 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.24765740404837] Failed to read output from testmodel.py, exit status != 0: 13.675198765005916 13.697309445 13.580808872 Calling exit ...