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.00129/0.00129, allocations: 114.2 kB / 19.74 MB, free: 2.164 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.001378/0.001378, allocations: 216.8 kB / 23.05 MB, free: 5.004 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.04688/0.04688, allocations: 6.143 MB / 319.4 MB, free: 12.95 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.001565/0.001565, allocations: 51.92 kB / 444.5 MB, free: 5.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1322, allocations: 55.02 MB / 499.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002854/0.1351, allocations: 1.537 MB / 0.4893 GB, free: 12.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.1376, allocations: 1.61 MB / 0.4909 GB, free: 11.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1377, allocations: 4 kB / 0.4909 GB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.1381, allocations: 123.3 kB / 0.491 GB, free: 10.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003144/0.1384, allocations: 115.3 kB / 0.4911 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.1402, allocations: 0.9064 MB / 0.492 GB, free: 9.969 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003951/0.1406, allocations: 230.9 kB / 0.4922 GB, free: 9.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.1408, allocations: 56.78 kB / 0.4923 GB, free: 9.684 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1409, allocations: 99.58 kB / 0.4924 GB, free: 9.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002177/0.1411, allocations: 131.4 kB / 0.4925 GB, free: 9.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.1411, allocations: 16 kB / 0.4925 GB, free: 9.441 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004263/0.1416, allocations: 211.8 kB / 0.4927 GB, free: 9.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.92e-05/0.1416, allocations: 47.78 kB / 0.4928 GB, free: 9.188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1417, allocations: 107.5 kB / 0.4929 GB, free: 9.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005715/0.1423, allocations: 398.6 kB / 0.4932 GB, free: 8.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1423, allocations: 0 / 0.4932 GB, free: 8.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1423, allocations: 0 / 0.4932 GB, free: 8.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.1423, allocations: 0 / 0.4932 GB, free: 8.691 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.002602/0.1449, allocations: 0.7546 MB / 0.494 GB, free: 7.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.145, allocations: 8.031 kB / 0.494 GB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.987e-05/0.1451, allocations: 58.67 kB / 0.494 GB, free: 7.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.375e-05/0.1451, allocations: 24.8 kB / 0.4941 GB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1455, allocations: 190.2 kB / 0.4943 GB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.1455, allocations: 12.7 kB / 0.4943 GB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.1455, allocations: 20.38 kB / 0.4943 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.146, allocations: 260.7 kB / 0.4945 GB, free: 7.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.146, allocations: 3.938 kB / 0.4945 GB, free: 7.297 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.1461, allocations: 8 kB / 0.4945 GB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.1461, allocations: 11.98 kB / 0.4946 GB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.1465, allocations: 256.4 kB / 0.4948 GB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.1481, allocations: 0.8884 MB / 0.4957 GB, free: 6.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007196/0.1488, allocations: 286.5 kB / 0.4959 GB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.1491, allocations: 136.8 kB / 0.4961 GB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.528e-05/0.1491, allocations: 4 kB / 0.4961 GB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.1491, allocations: 38.56 kB / 0.4961 GB, free: 5.594 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/0.1491, allocations: 4 kB / 0.4961 GB, free: 5.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003194/0.1523, allocations: 0.8883 MB / 0.497 GB, free: 4.691 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.1524, allocations: 55.41 kB / 0.497 GB, free: 4.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.1527, allocations: 200 kB / 0.4972 GB, free: 4.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.1527, allocations: 33.7 kB / 0.4973 GB, free: 4.379 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1528, allocations: 128.6 kB / 0.4974 GB, free: 4.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.1529, allocations: 87.22 kB / 0.4975 GB, free: 4.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.153, allocations: 61.69 kB / 0.4975 GB, free: 4.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1532, allocations: 334.8 kB / 0.4978 GB, free: 3.762 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.1535, allocations: 156 kB / 0.498 GB, free: 3.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.1537, allocations: 163.8 kB / 0.4981 GB, free: 3.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.1543, allocations: 359.2 kB / 0.4985 GB, free: 3.098 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1543, allocations: 0 / 0.4985 GB, free: 3.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001602/0.1559, allocations: 0.6305 MB / 0.4991 GB, free: 2.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.1559, allocations: 8 kB / 0.4991 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1559, allocations: 0 / 0.4991 GB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.1574, allocations: 324.5 kB / 0.4994 GB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.1576, allocations: 47.92 kB / 0.4995 GB, free: 2.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004689/0.1623, allocations: 2.654 MB / 0.5021 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.1625, allocations: 32.06 kB / 0.5021 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.1625, allocations: 12 kB / 0.5021 GB, free: 15.28 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.0001707/0.1627, allocations: 133.8 kB / 0.5022 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.1628, allocations: 23.84 kB / 0.5023 GB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.1644, allocations: 0.6093 MB / 0.5028 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.1644, allocations: 4 kB / 0.5028 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1644, allocations: 3.938 kB / 0.5029 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.1644, allocations: 3.938 kB / 0.5029 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/0.165, allocations: 360.3 kB / 0.5032 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.165, allocations: 4 kB / 0.5032 GB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.1651, allocations: 27.98 kB / 0.5032 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.1664, allocations: 312.5 kB / 0.5035 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.1665, allocations: 8 kB / 0.5035 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004119/0.1706, allocations: 2.635 MB / 0.5061 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1706, allocations: 0 / 0.5061 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.1722, allocations: 0.6636 MB / 0.5068 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.1723, allocations: 27.78 kB / 0.5068 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.94e-05/0.1723, allocations: 4 kB / 0.5068 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.1725, allocations: 11.94 kB / 0.5068 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.1726, allocations: 27.95 kB / 0.5068 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.1726, allocations: 15.98 kB / 0.5068 GB, free: 10.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.1728, allocations: 151.4 kB / 0.507 GB, free: 10.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1728, allocations: 0 / 0.507 GB, free: 10.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.1733, allocations: 95.89 kB / 0.5071 GB, free: 9.977 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.00206/0.1754, allocations: 1.217 MB / 0.5083 GB, free: 8.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.1769, allocations: 0.6078 MB / 0.5089 GB, free: 8.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1769, allocations: 3.938 kB / 0.5089 GB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.178, allocations: 430.3 kB / 0.5093 GB, free: 7.672 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1784, allocations: 20 kB / 0.5093 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/0.1846, allocations: 3.211 MB / 0.5124 GB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.185, allocations: 0.752 MB / 0.5132 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.1851, allocations: 29.92 kB / 0.5132 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.1852, allocations: 71.41 kB / 0.5133 GB, free: 3.484 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1852, allocations: 0 / 0.5133 GB, free: 3.484 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2791/0.4643, allocations: 8.711 MB / 0.5218 GB, free: 30 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.26, allocations: 3.375 kB / 0.5218 GB, free: 30 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: 16.00483956420794] Failed to read output from testmodel.py, exit status != 0: 13.382328491890803 13.409745043 13.262512047 Calling exit ...