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.001289/0.001289, 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.001458/0.001458, allocations: 221.3 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.03843/0.03843, allocations: 6.137 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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 43.94 kB / 444.4 MB, free: 5.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.104, allocations: 55.02 MB / 499.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002508/0.1065, allocations: 1.109 MB / 0.4888 GB, free: 12.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.1088, allocations: 1.481 MB / 0.4903 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.634e-05/0.1089, allocations: 4 kB / 0.4903 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.1092, allocations: 99.5 kB / 0.4904 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.1095, allocations: 87.45 kB / 0.4904 GB, free: 11.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.1112, allocations: 0.8052 MB / 0.4912 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.1115, allocations: 159.2 kB / 0.4914 GB, free: 10.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.1117, allocations: 33.95 kB / 0.4914 GB, free: 10.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.1117, allocations: 63.78 kB / 0.4915 GB, free: 10.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.1119, allocations: 79.61 kB / 0.4916 GB, free: 10.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.1119, allocations: 12 kB / 0.4916 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.1123, allocations: 195.8 kB / 0.4917 GB, free: 9.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.411e-05/0.1123, allocations: 27.92 kB / 0.4918 GB, free: 9.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.1124, allocations: 63.66 kB / 0.4918 GB, free: 9.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004583/0.1129, allocations: 315 kB / 0.4921 GB, free: 9.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1129, allocations: 0 / 0.4921 GB, free: 9.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1129, allocations: 0 / 0.4921 GB, free: 9.449 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.1129, allocations: 0 / 0.4921 GB, free: 9.449 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.001689/0.1146, allocations: 0.5638 MB / 0.4927 GB, free: 8.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1146, allocations: 8.031 kB / 0.4927 GB, free: 8.844 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.669e-05/0.1147, allocations: 54.67 kB / 0.4927 GB, free: 8.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.1147, allocations: 16.84 kB / 0.4928 GB, free: 8.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.115, allocations: 170.3 kB / 0.4929 GB, free: 8.574 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.115, allocations: 8.609 kB / 0.4929 GB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.115, allocations: 12.38 kB / 0.4929 GB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003922/0.1154, allocations: 269 kB / 0.4932 GB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1154, allocations: 3.938 kB / 0.4932 GB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.1155, allocations: 0 / 0.4932 GB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1155, allocations: 4 kB / 0.4932 GB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002736/0.1157, allocations: 170.5 kB / 0.4934 GB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.1168, allocations: 0.5151 MB / 0.4939 GB, free: 7.539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.1173, allocations: 193.2 kB / 0.4941 GB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1175, allocations: 80.84 kB / 0.4941 GB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.082e-05/0.1175, allocations: 4 kB / 0.4941 GB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1175, allocations: 34.56 kB / 0.4942 GB, free: 7.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.1175, allocations: 4 kB / 0.4942 GB, free: 7.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0018/0.1193, allocations: 498.2 kB / 0.4947 GB, free: 6.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.1194, allocations: 63.34 kB / 0.4947 GB, free: 6.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1196, allocations: 167.8 kB / 0.4949 GB, free: 6.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1196, allocations: 33.7 kB / 0.4949 GB, free: 6.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.003e-05/0.1197, allocations: 116.4 kB / 0.495 GB, free: 6.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.1198, allocations: 59.47 kB / 0.4951 GB, free: 6.254 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/0.1199, allocations: 41.7 kB / 0.4951 GB, free: 6.207 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.12, allocations: 326.8 kB / 0.4954 GB, free: 5.879 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.1202, allocations: 91.97 kB / 0.4955 GB, free: 5.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.1203, allocations: 107.6 kB / 0.4956 GB, free: 5.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.1207, allocations: 216.6 kB / 0.4958 GB, free: 5.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1207, allocations: 0 / 0.4958 GB, free: 5.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008793/0.1216, allocations: 380.9 kB / 0.4962 GB, free: 5.094 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1216, allocations: 8 kB / 0.4962 GB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1216, allocations: 0 / 0.4962 GB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007096/0.1223, allocations: 144.7 kB / 0.4963 GB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.1224, allocations: 27.92 kB / 0.4964 GB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/0.125, allocations: 1.901 MB / 0.4982 GB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.1252, allocations: 23.83 kB / 0.4982 GB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1252, allocations: 4 kB / 0.4982 GB, free: 2.871 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.0001261/0.1253, allocations: 133.8 kB / 0.4984 GB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.1254, allocations: 11.91 kB / 0.4984 GB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009304/0.1263, allocations: 365.7 kB / 0.4987 GB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.1263, allocations: 3.984 kB / 0.4987 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.1263, allocations: 0 / 0.4987 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1263, allocations: 0 / 0.4987 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.1266, allocations: 232.5 kB / 0.499 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1266, allocations: 0 / 0.499 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.897e-05/0.1267, allocations: 23.98 kB / 0.499 GB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000595/0.1273, allocations: 136.7 kB / 0.4991 GB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1273, allocations: 4 kB / 0.4991 GB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.1296, allocations: 1.886 MB / 0.501 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1296, allocations: 0 / 0.501 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008775/0.1305, allocations: 432 kB / 0.5014 GB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.1305, allocations: 19.83 kB / 0.5014 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1306, allocations: 7.938 kB / 0.5014 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.1307, allocations: 11.98 kB / 0.5014 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.1308, allocations: 11.98 kB / 0.5014 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1308, allocations: 7.984 kB / 0.5014 GB, free: 15.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.1309, allocations: 127.2 kB / 0.5015 GB, free: 15.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1309, allocations: 4 kB / 0.5015 GB, free: 15.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003662/0.1313, allocations: 60 kB / 0.5016 GB, free: 15.23 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.001273/0.1326, allocations: 0.9655 MB / 0.5025 GB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008269/0.1334, allocations: 368.6 kB / 0.5029 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1334, allocations: 0 / 0.5029 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004902/0.1339, allocations: 258.5 kB / 0.5031 GB, free: 13.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.1342, allocations: 23.97 kB / 0.5032 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.138, allocations: 2.367 MB / 0.5055 GB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.1381, allocations: 114 kB / 0.5056 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.35e-05/0.1382, allocations: 21.53 kB / 0.5056 GB, free: 10.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.1383, allocations: 47.41 kB / 0.5057 GB, free: 10.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.1383, allocations: 0 / 0.5057 GB, free: 10.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.1754, allocations: 6.164 MB / 0.5117 GB, free: 4.902 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/12.88, allocations: 14.83 kB / 0.5117 GB, free: 4.891 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: 15.741705749649554] Failed to read output from testmodel.py, exit status != 0: 12.998142439872026 13.185690934 13.069967514 Calling exit ...