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.001607/0.001607, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.001511/0.001511, allocations: 222.2 kB / 23.04 MB, free: 4.617 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.03672/0.03672, allocations: 6.139 MB / 319.4 MB, free: 12.75 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 51.91 kB / 444.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1155, allocations: 55.02 MB / 499.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002742/0.1182, allocations: 1.392 MB / 0.4891 GB, free: 12.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.1204, allocations: 1.532 MB / 0.4906 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.346e-05/0.1205, allocations: 0 / 0.4906 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.1208, allocations: 119.3 kB / 0.4907 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.1211, allocations: 115.3 kB / 0.4908 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.1228, allocations: 0.8325 MB / 0.4916 GB, free: 9.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.1232, allocations: 234.9 kB / 0.4919 GB, free: 9.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1233, allocations: 46.14 kB / 0.4919 GB, free: 9.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.1234, allocations: 103.6 kB / 0.492 GB, free: 9.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.1236, allocations: 111.5 kB / 0.4921 GB, free: 9.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.1237, allocations: 20 kB / 0.4921 GB, free: 9.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.1241, allocations: 203.8 kB / 0.4923 GB, free: 9.258 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.1241, allocations: 43.84 kB / 0.4924 GB, free: 9.215 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1242, allocations: 91.52 kB / 0.4924 GB, free: 9.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.1247, allocations: 394.7 kB / 0.4928 GB, free: 8.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1248, allocations: 3.938 kB / 0.4928 GB, free: 8.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1248, allocations: 0 / 0.4928 GB, free: 8.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1248, allocations: 0 / 0.4928 GB, free: 8.734 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.00246/0.1272, allocations: 0.7469 MB / 0.4936 GB, free: 7.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1273, allocations: 12.03 kB / 0.4936 GB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.125e-05/0.1273, allocations: 54.67 kB / 0.4936 GB, free: 7.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.1274, allocations: 24.8 kB / 0.4936 GB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.1277, allocations: 186.2 kB / 0.4938 GB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1277, allocations: 16.7 kB / 0.4938 GB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.1278, allocations: 16.38 kB / 0.4938 GB, free: 7.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005135/0.1283, allocations: 371.5 kB / 0.4942 GB, free: 7.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1283, allocations: 3.938 kB / 0.4942 GB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.1283, allocations: 8 kB / 0.4942 GB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1283, allocations: 4 kB / 0.4942 GB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.1287, allocations: 252.5 kB / 0.4945 GB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.1301, allocations: 0.7101 MB / 0.4952 GB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.1308, allocations: 298.3 kB / 0.4954 GB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.131, allocations: 140.8 kB / 0.4956 GB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.871e-05/0.1311, allocations: 4 kB / 0.4956 GB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1311, allocations: 42.5 kB / 0.4956 GB, free: 5.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.1311, allocations: 0 / 0.4956 GB, free: 5.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003199/0.1343, allocations: 0.8846 MB / 0.4965 GB, free: 4.816 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.1343, allocations: 59.34 kB / 0.4965 GB, free: 4.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1346, allocations: 196 kB / 0.4967 GB, free: 4.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.1346, allocations: 33.7 kB / 0.4968 GB, free: 4.504 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.1347, allocations: 128.5 kB / 0.4969 GB, free: 4.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.595e-05/0.1348, allocations: 91.25 kB / 0.497 GB, free: 4.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.1349, allocations: 65.64 kB / 0.497 GB, free: 4.215 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.135, allocations: 326.8 kB / 0.4973 GB, free: 3.887 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.1353, allocations: 159.9 kB / 0.4975 GB, free: 3.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.1355, allocations: 163.8 kB / 0.4976 GB, free: 3.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.1361, allocations: 351.3 kB / 0.498 GB, free: 3.227 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1361, allocations: 0 / 0.498 GB, free: 3.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001589/0.1377, allocations: 0.6344 MB / 0.4986 GB, free: 2.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1377, allocations: 4 kB / 0.4986 GB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1377, allocations: 0 / 0.4986 GB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.1392, allocations: 324.5 kB / 0.4989 GB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1394, allocations: 43.92 kB / 0.499 GB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/0.1441, allocations: 2.621 MB / 0.5015 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.1444, allocations: 31.83 kB / 0.5015 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.1444, allocations: 8 kB / 0.5016 GB, free: 15.44 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.0002016/0.1446, allocations: 137.8 kB / 0.5017 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.1447, allocations: 19.86 kB / 0.5017 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.1464, allocations: 0.6131 MB / 0.5023 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1464, allocations: 4 kB / 0.5023 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1464, allocations: 3.938 kB / 0.5023 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1464, allocations: 0 / 0.5023 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.1468, allocations: 292.4 kB / 0.5026 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.1468, allocations: 7.922 kB / 0.5026 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.1469, allocations: 31.92 kB / 0.5026 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001365/0.1483, allocations: 320.6 kB / 0.5029 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.1483, allocations: 4 kB / 0.5029 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004215/0.1525, allocations: 2.581 MB / 0.5055 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1526, allocations: 4 kB / 0.5055 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.1541, allocations: 0.6636 MB / 0.5061 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.1542, allocations: 27.77 kB / 0.5061 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.1542, allocations: 8 kB / 0.5061 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1544, allocations: 8 kB / 0.5062 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.534e-05/0.1545, allocations: 27.95 kB / 0.5062 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-05/0.1545, allocations: 15.98 kB / 0.5062 GB, free: 10.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001616/0.1547, allocations: 143.4 kB / 0.5063 GB, free: 10.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1547, allocations: 0 / 0.5063 GB, free: 10.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.1551, allocations: 99.95 kB / 0.5064 GB, free: 10.25 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.001972/0.1571, allocations: 1.213 MB / 0.5076 GB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001534/0.1586, allocations: 0.5922 MB / 0.5082 GB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1586, allocations: 3.938 kB / 0.5082 GB, free: 8.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.1597, allocations: 434.3 kB / 0.5086 GB, free: 7.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.16, allocations: 20 kB / 0.5086 GB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.1657, allocations: 3.226 MB / 0.5118 GB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.1659, allocations: 137.7 kB / 0.5119 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.166, allocations: 29.92 kB / 0.5119 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.1661, allocations: 71.41 kB / 0.512 GB, free: 4.379 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1661, allocations: 0 / 0.512 GB, free: 4.379 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2418/0.4079, allocations: 8.863 MB / 0.5207 GB, free: 30.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13, allocations: 9.766 kB / 0.5207 GB, free: 30.03 MB / 382.1 MB " [Timeout remaining time 647] (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: 15.637326659169048] Failed to read output from testmodel.py, exit status != 0: 13.124060803093016 13.1501256 13.020524016 Calling exit ...