Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.001343/0.001343, 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.001565/0.001565, allocations: 213 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.498/1.498, allocations: 230.6 MB / 257.6 MB, free: 7.773 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.03741/0.03741, allocations: 6.138 MB / 320.1 MB, free: 12.74 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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 43.92 kB / 445.2 MB, free: 5.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1152, allocations: 55.02 MB / 0.4885 GB, free: 13.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.003372/0.1186, allocations: 1.386 MB / 0.4898 GB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.1214, allocations: 1.536 MB / 0.4913 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.1216, allocations: 4 kB / 0.4914 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.1221, allocations: 115.4 kB / 0.4915 GB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006078/0.1227, allocations: 111.3 kB / 0.4916 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.1248, allocations: 0.8436 MB / 0.4924 GB, free: 9.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.1253, allocations: 226.9 kB / 0.4926 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.1255, allocations: 54.41 kB / 0.4927 GB, free: 9.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.1257, allocations: 103.6 kB / 0.4928 GB, free: 9.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1259, allocations: 127.5 kB / 0.4929 GB, free: 9.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.374e-05/0.126, allocations: 16 kB / 0.4929 GB, free: 9.445 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005713/0.1266, allocations: 215.8 kB / 0.4931 GB, free: 9.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.1266, allocations: 39.84 kB / 0.4931 GB, free: 9.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1268, allocations: 95.52 kB / 0.4932 GB, free: 9.102 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007399/0.1275, allocations: 394.7 kB / 0.4936 GB, free: 8.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1275, allocations: 0 / 0.4936 GB, free: 8.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1275, allocations: 3.938 kB / 0.4936 GB, free: 8.711 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1275, allocations: 0 / 0.4936 GB, free: 8.711 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.002966/0.1305, allocations: 0.7498 MB / 0.4943 GB, free: 7.926 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.1305, allocations: 8.031 kB / 0.4944 GB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.167e-05/0.1306, allocations: 8.516 kB / 0.4944 GB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.508e-05/0.1306, allocations: 50.73 kB / 0.4944 GB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.749e-05/0.1307, allocations: 24.8 kB / 0.4944 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.1312, allocations: 194.2 kB / 0.4946 GB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.1312, allocations: 12.7 kB / 0.4946 GB, free: 7.602 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.1312, allocations: 24.38 kB / 0.4947 GB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.1319, allocations: 367.2 kB / 0.495 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.1319, allocations: 0 / 0.495 GB, free: 7.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.001e-05/0.1319, allocations: 8 kB / 0.495 GB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.1319, allocations: 4 kB / 0.495 GB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.1324, allocations: 260.2 kB / 0.4953 GB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.1341, allocations: 0.7023 MB / 0.4959 GB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008181/0.1349, allocations: 294.4 kB / 0.4962 GB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.1351, allocations: 136.8 kB / 0.4964 GB, free: 5.746 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.378e-05/0.1352, allocations: 8 kB / 0.4964 GB, free: 5.738 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.1352, allocations: 34.56 kB / 0.4964 GB, free: 5.695 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.713e-06/0.1352, allocations: 4 kB / 0.4964 GB, free: 5.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003387/0.1386, allocations: 0.8883 MB / 0.4973 GB, free: 4.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1387, allocations: 59.41 kB / 0.4973 GB, free: 4.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.1389, allocations: 199.9 kB / 0.4975 GB, free: 4.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.1389, allocations: 33.7 kB / 0.4976 GB, free: 4.477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.139, allocations: 128.6 kB / 0.4977 GB, free: 4.348 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.555e-05/0.1391, allocations: 91.16 kB / 0.4978 GB, free: 4.258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.1392, allocations: 61.69 kB / 0.4978 GB, free: 4.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1394, allocations: 330.8 kB / 0.4981 GB, free: 3.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.1396, allocations: 160 kB / 0.4983 GB, free: 3.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.1399, allocations: 155.8 kB / 0.4984 GB, free: 3.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005454/0.1404, allocations: 351.3 kB / 0.4988 GB, free: 3.207 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1404, allocations: 0 / 0.4988 GB, free: 3.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00163/0.1421, allocations: 0.6421 MB / 0.4994 GB, free: 2.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1421, allocations: 4 kB / 0.4994 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1421, allocations: 0 / 0.4994 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/0.1436, allocations: 324.5 kB / 0.4997 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1438, allocations: 43.92 kB / 0.4998 GB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.1483, allocations: 2.629 MB / 0.5023 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.1485, allocations: 23.84 kB / 0.5023 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.1486, allocations: 12 kB / 0.5024 GB, free: 15.41 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 (27): * Single equations (assignments): 26 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001751/0.1487, allocations: 137.8 kB / 0.5025 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.1488, allocations: 15.91 kB / 0.5025 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.1505, allocations: 0.6132 MB / 0.5031 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1505, allocations: 7.938 kB / 0.5031 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1505, allocations: 0 / 0.5031 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1505, allocations: 0 / 0.5031 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.1509, allocations: 288.5 kB / 0.5034 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.1509, allocations: 0 / 0.5034 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.151, allocations: 35.92 kB / 0.5034 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.1524, allocations: 316.5 kB / 0.5037 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.1524, allocations: 4 kB / 0.5037 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/0.1566, allocations: 2.589 MB / 0.5062 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1566, allocations: 0 / 0.5062 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.1582, allocations: 0.6714 MB / 0.5069 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1582, allocations: 23.78 kB / 0.5069 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.1583, allocations: 8 kB / 0.5069 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.1585, allocations: 11.98 kB / 0.5069 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.047e-05/0.1585, allocations: 27.95 kB / 0.507 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.1586, allocations: 11.94 kB / 0.507 GB, free: 10.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.1587, allocations: 143.4 kB / 0.5071 GB, free: 10.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1587, allocations: 0 / 0.5071 GB, free: 10.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004641/0.1592, allocations: 103.9 kB / 0.5072 GB, free: 10.22 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 (20): * Single equations (assignments): 19 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002001/0.1612, allocations: 1.214 MB / 0.5084 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.1627, allocations: 0.6 MB / 0.509 GB, free: 8.367 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1627, allocations: 4 kB / 0.509 GB, free: 8.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.1639, allocations: 426.2 kB / 0.5094 GB, free: 7.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1642, allocations: 22.78 kB / 0.5094 GB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00613/0.1703, allocations: 3.235 MB / 0.5126 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001936/0.1705, allocations: 137.7 kB / 0.5127 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.1707, allocations: 33.92 kB / 0.5127 GB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.1708, allocations: 63.41 kB / 0.5128 GB, free: 4.348 MB / 382.1 MB Notification: Performance of SimCode: time 1.222e-06/0.1708, allocations: 0 / 0.5128 GB, free: 4.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2314/0.4022, allocations: 8.531 MB / 0.5211 GB, free: 30.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.61, allocations: 10.14 kB / 0.5211 GB, free: 30.8 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.347708706045523] Failed to read output from testmodel.py, exit status != 0: 13.794680815073662 13.820836453 13.688093945 Calling exit ...