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.001301/0.001301, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.001444/0.001444, allocations: 218.7 kB / 23.82 MB, free: 4.48 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.477/1.477, allocations: 230.6 MB / 257.6 MB, free: 7.816 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.03779/0.03779, allocations: 6.143 MB / 320.1 MB, free: 12.78 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.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.001593/0.001593, allocations: 47.94 kB / 445.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1131, allocations: 55.02 MB / 0.4885 GB, free: 14.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002816/0.1159, allocations: 1.424 MB / 0.4899 GB, free: 12.6 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.1183, allocations: 1.544 MB / 0.4914 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.1184, allocations: 4 kB / 0.4914 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004334/0.1188, allocations: 127.3 kB / 0.4915 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.1192, allocations: 143.2 kB / 0.4917 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.1214, allocations: 1.07 MB / 0.4927 GB, free: 9.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000454/0.1219, allocations: 238.8 kB / 0.4929 GB, free: 9.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1221, allocations: 52.52 kB / 0.493 GB, free: 9.406 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.1222, allocations: 99.62 kB / 0.4931 GB, free: 9.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1224, allocations: 131.4 kB / 0.4932 GB, free: 9.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.312e-05/0.1225, allocations: 20 kB / 0.4932 GB, free: 9.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005564/0.123, allocations: 255.8 kB / 0.4935 GB, free: 8.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.1231, allocations: 51.77 kB / 0.4935 GB, free: 8.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1232, allocations: 87.59 kB / 0.4936 GB, free: 8.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006533/0.1239, allocations: 442.5 kB / 0.494 GB, free: 8.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1239, allocations: 0 / 0.494 GB, free: 8.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1239, allocations: 0 / 0.494 GB, free: 8.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1239, allocations: 0 / 0.494 GB, free: 8.34 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.003264/0.1271, allocations: 0.8512 MB / 0.4948 GB, free: 7.453 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1272, allocations: 11.97 kB / 0.4949 GB, free: 7.441 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.605e-05/0.1272, allocations: 8.516 kB / 0.4949 GB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.1273, allocations: 50.73 kB / 0.4949 GB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.1273, allocations: 28.8 kB / 0.4949 GB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.1277, allocations: 203.8 kB / 0.4951 GB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.1277, allocations: 12.7 kB / 0.4952 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.1277, allocations: 20.38 kB / 0.4952 GB, free: 7.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005952/0.1283, allocations: 423 kB / 0.4956 GB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1283, allocations: 3.938 kB / 0.4956 GB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.1284, allocations: 16 kB / 0.4956 GB, free: 6.617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1284, allocations: 4 kB / 0.4956 GB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000416/0.1288, allocations: 251.8 kB / 0.4958 GB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.1303, allocations: 0.7296 MB / 0.4965 GB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006251/0.131, allocations: 278.4 kB / 0.4968 GB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.1312, allocations: 144.8 kB / 0.497 GB, free: 5.168 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.805e-05/0.1312, allocations: 7.984 kB / 0.497 GB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.1313, allocations: 38.56 kB / 0.497 GB, free: 5.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.864e-06/0.1313, allocations: 0 / 0.497 GB, free: 5.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003375/0.1347, allocations: 0.869 MB / 0.4978 GB, free: 4.234 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.199e-05/0.1347, allocations: 89.05 kB / 0.4979 GB, free: 4.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002671/0.135, allocations: 203.1 kB / 0.4981 GB, free: 3.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.135, allocations: 33.7 kB / 0.4982 GB, free: 3.879 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1352, allocations: 140.8 kB / 0.4983 GB, free: 3.738 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.327e-05/0.1352, allocations: 83.23 kB / 0.4984 GB, free: 3.656 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1354, allocations: 65.67 kB / 0.4984 GB, free: 3.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1356, allocations: 330.8 kB / 0.4987 GB, free: 3.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002765/0.1358, allocations: 171.9 kB / 0.4989 GB, free: 3.086 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003332/0.1362, allocations: 223.1 kB / 0.4991 GB, free: 2.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/0.1368, allocations: 370.4 kB / 0.4995 GB, free: 2.492 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1368, allocations: 0 / 0.4995 GB, free: 2.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001987/0.1388, allocations: 0.6887 MB / 0.5002 GB, free: 1.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.1388, allocations: 4 kB / 0.5002 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1388, allocations: 4 kB / 0.5002 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00196/0.1408, allocations: 376.4 kB / 0.5005 GB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.141, allocations: 59.84 kB / 0.5006 GB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005071/0.1461, allocations: 2.593 MB / 0.5031 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000338/0.1465, allocations: 23.91 kB / 0.5031 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.1465, allocations: 15.98 kB / 0.5031 GB, free: 14.61 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 (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.0001982/0.1467, allocations: 137.8 kB / 0.5033 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.1468, allocations: 23.8 kB / 0.5033 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.1487, allocations: 0.6482 MB / 0.5039 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.1487, allocations: 4 kB / 0.5039 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.1487, allocations: 0 / 0.5039 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1488, allocations: 7.984 kB / 0.5039 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.1492, allocations: 300.5 kB / 0.5042 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1492, allocations: 0 / 0.5042 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.1493, allocations: 31.98 kB / 0.5043 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/0.1511, allocations: 368.5 kB / 0.5046 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.1512, allocations: 23.86 kB / 0.5046 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004712/0.1559, allocations: 2.557 MB / 0.5071 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.1559, allocations: 4.062 kB / 0.5071 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.1578, allocations: 0.7065 MB / 0.5078 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.235e-05/0.1579, allocations: 27.78 kB / 0.5079 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/0.158, allocations: 4 kB / 0.5079 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.1582, allocations: 15.98 kB / 0.5079 GB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.1583, allocations: 19.97 kB / 0.5079 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/0.1583, allocations: 15.92 kB / 0.5079 GB, free: 9.531 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.1585, allocations: 151.3 kB / 0.5081 GB, free: 9.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1585, allocations: 0 / 0.5081 GB, free: 9.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005284/0.1591, allocations: 107.9 kB / 0.5082 GB, free: 9.277 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00226/0.1613, allocations: 1.24 MB / 0.5094 GB, free: 8.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.1632, allocations: 0.6271 MB / 0.51 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1632, allocations: 0 / 0.51 GB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.1644, allocations: 422.4 kB / 0.5104 GB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.1648, allocations: 30.48 kB / 0.5104 GB, free: 6.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/0.1714, allocations: 3.359 MB / 0.5137 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.1716, allocations: 146.1 kB / 0.5138 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.1717, allocations: 29.92 kB / 0.5139 GB, free: 3.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.1718, allocations: 67.41 kB / 0.5139 GB, free: 3.211 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1718, allocations: 4 kB / 0.5139 GB, free: 3.207 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2392/0.411, allocations: 9.139 MB / 0.5229 GB, free: 30.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.74, allocations: 11.72 kB / 0.5229 GB, free: 30.78 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.422787581919692] Failed to read output from testmodel.py, exit status != 0: 13.919634299934842 13.93501413 13.80847269 Calling exit ...