Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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: 101 kB / 20.52 MB, free: 1.449 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.001598/0.001598, allocations: 211.5 kB / 23.84 MB, free: 4.664 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.514/1.514, allocations: 230.6 MB / 257.6 MB, free: 7.988 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.04237/0.04237, allocations: 6.128 MB / 320.2 MB, free: 12.96 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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 47.92 kB / 445.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.119, allocations: 55.03 MB / 0.4886 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002502/0.1215, allocations: 1.203 MB / 0.4898 GB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002149/0.1236, allocations: 1.555 MB / 0.4913 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.1237, allocations: 4 kB / 0.4913 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.1241, allocations: 103.5 kB / 0.4914 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1243, allocations: 75.53 kB / 0.4915 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.1261, allocations: 0.8986 MB / 0.4923 GB, free: 10.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002972/0.1264, allocations: 159.2 kB / 0.4925 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.1265, allocations: 37.94 kB / 0.4925 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.75e-05/0.1266, allocations: 67.73 kB / 0.4926 GB, free: 10.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1267, allocations: 79.67 kB / 0.4927 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.1268, allocations: 12 kB / 0.4927 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004212/0.1272, allocations: 211.8 kB / 0.4929 GB, free: 9.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.412e-05/0.1272, allocations: 31.91 kB / 0.4929 GB, free: 9.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.868e-05/0.1273, allocations: 67.67 kB / 0.493 GB, free: 9.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005451/0.1278, allocations: 322.9 kB / 0.4933 GB, free: 9.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1278, allocations: 0 / 0.4933 GB, free: 9.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1278, allocations: 0 / 0.4933 GB, free: 9.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1278, allocations: 0 / 0.4933 GB, free: 9.43 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001848/0.1297, allocations: 0.5715 MB / 0.4938 GB, free: 8.824 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1297, allocations: 8.031 kB / 0.4938 GB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.197e-05/0.1298, allocations: 4.422 kB / 0.4939 GB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.056e-05/0.1298, allocations: 46.73 kB / 0.4939 GB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.1299, allocations: 20.84 kB / 0.4939 GB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.1301, allocations: 170.2 kB / 0.4941 GB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1302, allocations: 8.609 kB / 0.4941 GB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.1302, allocations: 12.38 kB / 0.4941 GB, free: 8.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.1305, allocations: 179.5 kB / 0.4943 GB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1305, allocations: 0 / 0.4943 GB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.1305, allocations: 8 kB / 0.4943 GB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1306, allocations: 4 kB / 0.4943 GB, free: 8.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.1308, allocations: 166.5 kB / 0.4944 GB, free: 8.176 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.132, allocations: 0.6623 MB / 0.4951 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.1325, allocations: 201 kB / 0.4953 GB, free: 7.242 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.1327, allocations: 84.84 kB / 0.4954 GB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.1327, allocations: 0 / 0.4954 GB, free: 7.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.1328, allocations: 38.56 kB / 0.4954 GB, free: 7.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.1328, allocations: 0 / 0.4954 GB, free: 7.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001864/0.1346, allocations: 0.4904 MB / 0.4959 GB, free: 6.609 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1347, allocations: 55.34 kB / 0.4959 GB, free: 6.543 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.1349, allocations: 169.9 kB / 0.4961 GB, free: 6.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.1349, allocations: 33.64 kB / 0.4961 GB, free: 6.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.135, allocations: 120.3 kB / 0.4962 GB, free: 6.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.1351, allocations: 55.53 kB / 0.4963 GB, free: 6.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.1352, allocations: 49.66 kB / 0.4963 GB, free: 6.102 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1353, allocations: 322.8 kB / 0.4966 GB, free: 5.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.1355, allocations: 95.97 kB / 0.4967 GB, free: 5.684 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.1357, allocations: 91.97 kB / 0.4968 GB, free: 5.594 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.136, allocations: 219.5 kB / 0.497 GB, free: 5.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.136, allocations: 0 / 0.497 GB, free: 5.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009495/0.137, allocations: 382 kB / 0.4974 GB, free: 4.996 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.137, allocations: 7.938 kB / 0.4974 GB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.137, allocations: 0 / 0.4974 GB, free: 4.988 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007094/0.1377, allocations: 136.7 kB / 0.4975 GB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1379, allocations: 35.98 kB / 0.4976 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/0.141, allocations: 1.927 MB / 0.4995 GB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.1412, allocations: 15.89 kB / 0.4995 GB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.1412, allocations: 12 kB / 0.4995 GB, free: 2.746 MB / 366.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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.1414, allocations: 125.7 kB / 0.4996 GB, free: 2.613 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.058e-05/0.1415, allocations: 15.91 kB / 0.4996 GB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009915/0.1425, allocations: 359.2 kB / 0.5 GB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.1425, allocations: 4 kB / 0.5 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1425, allocations: 0 / 0.5 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1425, allocations: 0 / 0.5 GB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.1429, allocations: 272.5 kB / 0.5002 GB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1429, allocations: 0 / 0.5002 GB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-05/0.143, allocations: 19.94 kB / 0.5002 GB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000645/0.1436, allocations: 140.7 kB / 0.5004 GB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.1436, allocations: 8 kB / 0.5004 GB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002958/0.1466, allocations: 1.909 MB / 0.5022 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1466, allocations: 0 / 0.5022 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.1477, allocations: 428 kB / 0.5027 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.1478, allocations: 15.89 kB / 0.5027 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.1478, allocations: 7.938 kB / 0.5027 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.148, allocations: 11.98 kB / 0.5027 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.1481, allocations: 15.86 kB / 0.5027 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.1481, allocations: 7.984 kB / 0.5027 GB, free: 15.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.1483, allocations: 129.5 kB / 0.5028 GB, free: 15.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1483, allocations: 0 / 0.5028 GB, free: 15.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.1488, allocations: 63.95 kB / 0.5029 GB, free: 15.05 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001355/0.1501, allocations: 0.9697 MB / 0.5038 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008432/0.151, allocations: 370.4 kB / 0.5042 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.151, allocations: 0 / 0.5042 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005078/0.1515, allocations: 250.5 kB / 0.5044 GB, free: 13.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1518, allocations: 15.98 kB / 0.5044 GB, free: 13.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.1559, allocations: 2.378 MB / 0.5068 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1563, allocations: 0.7125 MB / 0.5075 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1564, allocations: 29.52 kB / 0.5075 GB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.165e-05/0.1565, allocations: 43.42 kB / 0.5075 GB, free: 10.13 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1565, allocations: 4 kB / 0.5075 GB, free: 10.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03261/0.1891, allocations: 6.21 MB / 0.5136 GB, free: 4.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.18, allocations: 14.16 kB / 0.5136 GB, free: 4.059 MB / 382.1 MB " [Timeout remaining time 647] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.15927746600937] Failed to read output from testmodel.py, exit status != 0: 13.361181020038202 13.586085186 13.455523467999999 Calling exit ...