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.001753/0.001753, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001615/0.001615, allocations: 217.1 kB / 23.03 MB, free: 5.016 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.03903/0.03903, allocations: 6.138 MB / 319.4 MB, free: 12.77 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 47.91 kB / 444.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1295, allocations: 55.02 MB / 499.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.002875/0.1324, allocations: 1.413 MB / 0.4891 GB, free: 12.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.1349, allocations: 1.544 MB / 0.4906 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.1351, allocations: 4 kB / 0.4906 GB, free: 11.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.1355, allocations: 123.3 kB / 0.4907 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.136, allocations: 151.1 kB / 0.4909 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002177/0.1382, allocations: 1.072 MB / 0.4919 GB, free: 9.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004951/0.1387, allocations: 234.9 kB / 0.4922 GB, free: 9.441 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.1389, allocations: 48.5 kB / 0.4922 GB, free: 9.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.139, allocations: 107.6 kB / 0.4923 GB, free: 9.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1392, allocations: 111.5 kB / 0.4924 GB, free: 9.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.1392, allocations: 20 kB / 0.4924 GB, free: 9.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.1398, allocations: 247.8 kB / 0.4927 GB, free: 8.914 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.1399, allocations: 47.78 kB / 0.4927 GB, free: 8.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.14, allocations: 91.58 kB / 0.4928 GB, free: 8.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006638/0.1406, allocations: 438.5 kB / 0.4932 GB, free: 8.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1406, allocations: 0 / 0.4932 GB, free: 8.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1406, allocations: 0 / 0.4932 GB, free: 8.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1406, allocations: 0 / 0.4932 GB, free: 8.348 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.003111/0.1438, allocations: 0.8481 MB / 0.4941 GB, free: 7.461 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1438, allocations: 16.02 kB / 0.4941 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.657e-05/0.1439, allocations: 54.73 kB / 0.4941 GB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.737e-05/0.1439, allocations: 24.8 kB / 0.4941 GB, free: 7.359 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.1443, allocations: 203.8 kB / 0.4943 GB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.1443, allocations: 16.7 kB / 0.4944 GB, free: 7.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.1443, allocations: 16.38 kB / 0.4944 GB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.1449, allocations: 423.2 kB / 0.4948 GB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1449, allocations: 7.938 kB / 0.4948 GB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.1449, allocations: 4 kB / 0.4948 GB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.145, allocations: 4 kB / 0.4948 GB, free: 6.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.1454, allocations: 264.1 kB / 0.495 GB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.147, allocations: 0.7218 MB / 0.4957 GB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.1476, allocations: 274.5 kB / 0.496 GB, free: 5.332 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.1479, allocations: 140.8 kB / 0.4961 GB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.964e-05/0.1479, allocations: 7.938 kB / 0.4962 GB, free: 5.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.148, allocations: 38.56 kB / 0.4962 GB, free: 5.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 2.324e-06/0.148, allocations: 0 / 0.4962 GB, free: 5.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003388/0.1514, allocations: 0.8807 MB / 0.497 GB, free: 4.246 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.212e-05/0.1514, allocations: 85.05 kB / 0.4971 GB, free: 4.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.1517, allocations: 207.1 kB / 0.4973 GB, free: 3.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.1517, allocations: 29.7 kB / 0.4974 GB, free: 3.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1518, allocations: 132.9 kB / 0.4975 GB, free: 3.762 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/0.1519, allocations: 91.22 kB / 0.4976 GB, free: 3.672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.1521, allocations: 69.64 kB / 0.4976 GB, free: 3.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.1522, allocations: 330.8 kB / 0.498 GB, free: 3.266 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.1525, allocations: 160 kB / 0.4981 GB, free: 3.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003203/0.1528, allocations: 227.1 kB / 0.4983 GB, free: 2.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005943/0.1534, allocations: 370.5 kB / 0.4987 GB, free: 2.512 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1534, allocations: 3.938 kB / 0.4987 GB, free: 2.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001894/0.1553, allocations: 0.6888 MB / 0.4993 GB, free: 1.809 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1554, allocations: 7.938 kB / 0.4994 GB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1554, allocations: 3.984 kB / 0.4994 GB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.1572, allocations: 380.4 kB / 0.4997 GB, free: 1.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.1575, allocations: 47.97 kB / 0.4998 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004826/0.1623, allocations: 2.6 MB / 0.5023 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.1626, allocations: 27.91 kB / 0.5023 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.1626, allocations: 8 kB / 0.5023 GB, free: 14.63 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.0001893/0.1628, allocations: 149.7 kB / 0.5025 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.1629, allocations: 23.8 kB / 0.5025 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.1648, allocations: 0.6481 MB / 0.5031 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1648, allocations: 4 kB / 0.5031 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.1648, allocations: 0 / 0.5031 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1648, allocations: 0 / 0.5031 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.1652, allocations: 296.6 kB / 0.5034 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1652, allocations: 0 / 0.5034 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.1654, allocations: 35.98 kB / 0.5035 GB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.1672, allocations: 372.7 kB / 0.5038 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.1672, allocations: 7.938 kB / 0.5038 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004635/0.1718, allocations: 2.573 MB / 0.5063 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1718, allocations: 4 kB / 0.5063 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.1738, allocations: 0.6986 MB / 0.507 GB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.1739, allocations: 27.78 kB / 0.507 GB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.1739, allocations: 11.98 kB / 0.5071 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002625/0.1742, allocations: 16 kB / 0.5071 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.1743, allocations: 23.95 kB / 0.5071 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.1743, allocations: 8 kB / 0.5071 GB, free: 9.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.1745, allocations: 155.3 kB / 0.5073 GB, free: 9.395 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1745, allocations: 0 / 0.5073 GB, free: 9.395 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005273/0.175, allocations: 103.8 kB / 0.5074 GB, free: 9.293 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.002376/0.1774, allocations: 1.248 MB / 0.5086 GB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001862/0.1793, allocations: 0.6116 MB / 0.5092 GB, free: 7.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.1793, allocations: 8 kB / 0.5092 GB, free: 7.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.1805, allocations: 426.3 kB / 0.5096 GB, free: 6.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1809, allocations: 23.98 kB / 0.5096 GB, free: 6.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00648/0.1874, allocations: 3.367 MB / 0.5129 GB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.1875, allocations: 134.1 kB / 0.513 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001688/0.1877, allocations: 37.91 kB / 0.5131 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.1878, allocations: 71.41 kB / 0.5131 GB, free: 3.219 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1878, allocations: 0 / 0.5131 GB, free: 3.219 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2335/0.4213, allocations: 9.515 MB / 0.5224 GB, free: 29.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.94, allocations: 11.86 kB / 0.5224 GB, free: 29.76 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.636261341627687] Failed to read output from testmodel.py, exit status != 0: 13.06442610686645 13.086275326 12.941373189 Calling exit ...