Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.001295/0.001295, 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.001425/0.001425, allocations: 214.3 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.484/1.484, allocations: 230.6 MB / 257.6 MB, free: 7.789 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.03676/0.03676, allocations: 6.147 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.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.OnePerfectLine,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_OnePerfectLine",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 51.92 kB / 445.2 MB, free: 5.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.1009, allocations: 55.02 MB / 0.4885 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.002522/0.1034, allocations: 1.193 MB / 0.4896 GB, free: 12.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1051, allocations: 1.232 MB / 0.4908 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.1052, allocations: 4 kB / 0.4909 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1055, allocations: 99.48 kB / 0.4909 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.1057, allocations: 55.62 kB / 0.491 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1068, allocations: 0.5407 MB / 0.4915 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.107, allocations: 127.5 kB / 0.4916 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.1072, allocations: 53.64 kB / 0.4917 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.715e-05/0.1072, allocations: 55.78 kB / 0.4918 GB, free: 10.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1073, allocations: 63.72 kB / 0.4918 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.1074, allocations: 15.94 kB / 0.4918 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002904/0.1077, allocations: 143.9 kB / 0.492 GB, free: 10.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/0.1077, allocations: 27.92 kB / 0.492 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.1078, allocations: 55.72 kB / 0.492 GB, free: 10.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.1082, allocations: 255.1 kB / 0.4923 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1082, allocations: 0 / 0.4923 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1082, allocations: 0 / 0.4923 GB, free: 10.06 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.1082, allocations: 0 / 0.4923 GB, free: 10.06 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.00133/0.1095, allocations: 0.4895 MB / 0.4928 GB, free: 9.535 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1096, allocations: 8.031 kB / 0.4928 GB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.557e-05/0.1096, allocations: 8.125 kB / 0.4928 GB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.833e-05/0.1096, allocations: 46.73 kB / 0.4928 GB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.1097, allocations: 16.84 kB / 0.4928 GB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.1099, allocations: 154.3 kB / 0.493 GB, free: 9.273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.1099, allocations: 8.375 kB / 0.493 GB, free: 9.266 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.11, allocations: 12.38 kB / 0.493 GB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003108/0.1103, allocations: 179.7 kB / 0.4932 GB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1103, allocations: 0 / 0.4932 GB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.1103, allocations: 8 kB / 0.4932 GB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1103, allocations: 4 kB / 0.4932 GB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.1105, allocations: 119.9 kB / 0.4933 GB, free: 8.938 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000761/0.1113, allocations: 451.4 kB / 0.4937 GB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009009/0.1122, allocations: 146.4 kB / 0.4939 GB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.036e-05/0.1123, allocations: 40.86 kB / 0.4939 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.345e-05/0.1124, allocations: 11.98 kB / 0.4939 GB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1124, allocations: 30.56 kB / 0.494 GB, free: 8.207 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.1124, allocations: 0 / 0.494 GB, free: 8.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001195/0.1136, allocations: 270.4 kB / 0.4942 GB, free: 7.934 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.1136, allocations: 59.28 kB / 0.4943 GB, free: 7.863 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/0.1137, allocations: 132.3 kB / 0.4944 GB, free: 7.727 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.1138, allocations: 29.7 kB / 0.4944 GB, free: 7.691 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.1138, allocations: 132.2 kB / 0.4946 GB, free: 7.559 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1139, allocations: 31.75 kB / 0.4946 GB, free: 7.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.346e-05/0.1139, allocations: 29.7 kB / 0.4946 GB, free: 7.492 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1141, allocations: 318.8 kB / 0.4949 GB, free: 7.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.278e-05/0.1142, allocations: 40 kB / 0.495 GB, free: 7.133 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.1143, allocations: 60.06 kB / 0.495 GB, free: 7.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.1144, allocations: 105.6 kB / 0.4951 GB, free: 6.961 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1144, allocations: 0 / 0.4951 GB, free: 6.961 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005341/0.115, allocations: 214.2 kB / 0.4953 GB, free: 6.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.115, allocations: 4 kB / 0.4953 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.115, allocations: 384 / 0.4953 GB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004531/0.1154, allocations: 76.77 kB / 0.4954 GB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.1155, allocations: 15.98 kB / 0.4954 GB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/0.1174, allocations: 1.541 MB / 0.4969 GB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.212e-05/0.1175, allocations: 15.92 kB / 0.4969 GB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1175, allocations: 3.984 kB / 0.4969 GB, free: 4.965 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.1176, allocations: 125.9 kB / 0.4971 GB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.1176, allocations: 11.89 kB / 0.4971 GB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.1182, allocations: 210.7 kB / 0.4973 GB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.1182, allocations: 0 / 0.4973 GB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.1182, allocations: 3.984 kB / 0.4973 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1182, allocations: 0 / 0.4973 GB, free: 4.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.1184, allocations: 180.6 kB / 0.4974 GB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1184, allocations: 8 kB / 0.4974 GB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.1185, allocations: 15.98 kB / 0.4975 GB, free: 4.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003836/0.1189, allocations: 72.78 kB / 0.4975 GB, free: 4.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.1189, allocations: 3.984 kB / 0.4975 GB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001778/0.1207, allocations: 1.529 MB / 0.499 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1207, allocations: 0 / 0.499 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005315/0.1212, allocations: 280.3 kB / 0.4993 GB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.789e-05/0.1212, allocations: 19.88 kB / 0.4993 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.1212, allocations: 0 / 0.4993 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1213, allocations: 0 / 0.4993 GB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.1214, allocations: 15.97 kB / 0.4993 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.1214, allocations: 4 kB / 0.4993 GB, free: 2.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.221e-05/0.1215, allocations: 103.2 kB / 0.4994 GB, free: 2.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1215, allocations: 0 / 0.4994 GB, free: 2.203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003261/0.1218, allocations: 47.89 kB / 0.4995 GB, free: 2.156 MB / 366.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 (8): * Single equations (assignments): 7 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009705/0.1228, allocations: 0.8185 MB / 0.5003 GB, free: 1.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007359/0.1235, allocations: 247 kB / 0.5005 GB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.1235, allocations: 0 / 0.5005 GB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.1239, allocations: 210.8 kB / 0.5007 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.1242, allocations: 8.219 kB / 0.5007 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.1269, allocations: 1.775 MB / 0.5025 GB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.127, allocations: 94.27 kB / 0.5025 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.313e-05/0.1271, allocations: 8.859 kB / 0.5026 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.1271, allocations: 39.42 kB / 0.5026 GB, free: 14.8 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1271, allocations: 3.938 kB / 0.5026 GB, free: 14.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02655/0.1537, allocations: 3.833 MB / 0.5063 GB, free: 11.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.27, allocations: 8 kB / 0.5063 GB, free: 11.11 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_OnePerfectLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_OnePerfectLine.fmu > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.20752341998741] Failed to read output from testmodel.py, exit status != 0: 12.442825303063728 12.679412771 12.567676642 Calling exit ...