Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.001724/0.001724, 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.002242/0.002242, allocations: 223.3 kB / 23.03 MB, free: 4.621 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.447/1.447, allocations: 230.6 MB / 256.8 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.03712/0.03712, allocations: 6.135 MB / 319.4 MB, free: 12.72 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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 55.92 kB / 444.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1075, allocations: 55.01 MB / 499.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSouceOneLineOneSource): time 0.002505/0.11, allocations: 1.053 MB / 0.4888 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.1121, allocations: 1.435 MB / 0.4902 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.1121, allocations: 4 kB / 0.4902 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1125, allocations: 103.5 kB / 0.4903 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.1127, allocations: 79.53 kB / 0.4903 GB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1139, allocations: 0.5484 MB / 0.4909 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002709/0.1142, allocations: 131.4 kB / 0.491 GB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.1144, allocations: 33.56 kB / 0.491 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.703e-05/0.1144, allocations: 51.84 kB / 0.4911 GB, free: 10.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1145, allocations: 71.62 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.1146, allocations: 12 kB / 0.4912 GB, free: 10.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.1149, allocations: 155.9 kB / 0.4913 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.53e-05/0.1149, allocations: 23.92 kB / 0.4913 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.496e-05/0.115, allocations: 63.59 kB / 0.4914 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005215/0.1155, allocations: 267.1 kB / 0.4917 GB, free: 9.918 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1155, allocations: 0 / 0.4917 GB, free: 9.918 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1155, allocations: 0 / 0.4917 GB, free: 9.918 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1156, allocations: 0 / 0.4917 GB, free: 9.918 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.001663/0.1172, allocations: 0.5249 MB / 0.4922 GB, free: 9.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1173, allocations: 8.031 kB / 0.4922 GB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.951e-05/0.1173, allocations: 46.73 kB / 0.4922 GB, free: 9.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.1174, allocations: 20.78 kB / 0.4922 GB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.1176, allocations: 150.3 kB / 0.4924 GB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.1176, allocations: 16.55 kB / 0.4924 GB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.1176, allocations: 12.38 kB / 0.4924 GB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.118, allocations: 197.7 kB / 0.4926 GB, free: 8.875 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.118, allocations: 3.938 kB / 0.4926 GB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.118, allocations: 8 kB / 0.4926 GB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.118, allocations: 0 / 0.4926 GB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002701/0.1183, allocations: 162.3 kB / 0.4928 GB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009425/0.1192, allocations: 0.4956 MB / 0.4932 GB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.1196, allocations: 146.5 kB / 0.4934 GB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1197, allocations: 68.84 kB / 0.4935 GB, free: 7.945 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.1197, allocations: 3.984 kB / 0.4935 GB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.1198, allocations: 38.56 kB / 0.4935 GB, free: 7.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1198, allocations: 0 / 0.4935 GB, free: 7.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.001059/0.1208, allocations: 308.9 kB / 0.4938 GB, free: 7.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.1209, allocations: 51.41 kB / 0.4938 GB, free: 7.523 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.1211, allocations: 179 kB / 0.494 GB, free: 7.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1211, allocations: 25.7 kB / 0.494 GB, free: 7.309 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.1212, allocations: 124.3 kB / 0.4941 GB, free: 7.184 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.1212, allocations: 47.64 kB / 0.4942 GB, free: 7.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/0.1213, allocations: 41.7 kB / 0.4942 GB, free: 7.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1215, allocations: 322.8 kB / 0.4945 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1217, allocations: 95.97 kB / 0.4946 GB, free: 6.672 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.1219, allocations: 93.59 kB / 0.4947 GB, free: 6.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.1222, allocations: 208.3 kB / 0.4949 GB, free: 6.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1222, allocations: 0 / 0.4949 GB, free: 6.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005891/0.1228, allocations: 306.2 kB / 0.4952 GB, free: 6.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1228, allocations: 4 kB / 0.4952 GB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.1228, allocations: 0 / 0.4952 GB, free: 6.066 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003149/0.1231, allocations: 56.8 kB / 0.4953 GB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.1233, allocations: 43.91 kB / 0.4953 GB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/0.125, allocations: 1.428 MB / 0.4967 GB, free: 4.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.1252, allocations: 19.86 kB / 0.4967 GB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1252, allocations: 12.14 kB / 0.4967 GB, free: 4.391 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 (22): * Single equations (assignments): 21 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.1253, allocations: 125.8 kB / 0.4969 GB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.1254, allocations: 15.84 kB / 0.4969 GB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005336/0.1259, allocations: 239 kB / 0.4971 GB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.1259, allocations: 4 kB / 0.4971 GB, free: 4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1259, allocations: 0 / 0.4971 GB, free: 4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1259, allocations: 0 / 0.4971 GB, free: 4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.1262, allocations: 204.6 kB / 0.4973 GB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.1262, allocations: 15.94 kB / 0.4973 GB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-05/0.1263, allocations: 12 kB / 0.4973 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002148/0.1265, allocations: 56.75 kB / 0.4974 GB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1265, allocations: 4 kB / 0.4974 GB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/0.128, allocations: 1.424 MB / 0.4988 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.128, allocations: 0 / 0.4988 GB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004791/0.1285, allocations: 300.2 kB / 0.4991 GB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.438e-05/0.1285, allocations: 23.83 kB / 0.4991 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.1285, allocations: 0 / 0.4991 GB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.1287, allocations: 14.19 kB / 0.4991 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.1287, allocations: 7.984 kB / 0.4991 GB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.1287, allocations: 4.125 kB / 0.4991 GB, free: 1.762 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001344/0.1288, allocations: 138.1 kB / 0.4992 GB, free: 1.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1288, allocations: 0 / 0.4992 GB, free: 1.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003389/0.1292, allocations: 48 kB / 0.4993 GB, free: 1.582 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 (12): * Single equations (assignments): 11 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009495/0.1301, allocations: 0.842 MB / 0.5001 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000714/0.1308, allocations: 302.6 kB / 0.5004 GB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1309, allocations: 0 / 0.5004 GB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.1313, allocations: 206.6 kB / 0.5006 GB, free: 192 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.1315, allocations: 7.984 kB / 0.5006 GB, free: 184 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002852/0.1344, allocations: 2.1 MB / 0.5027 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.1345, allocations: 93.62 kB / 0.5027 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.599e-05/0.1346, allocations: 28.61 kB / 0.5028 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.1346, allocations: 39.36 kB / 0.5028 GB, free: 13.82 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1346, allocations: 0 / 0.5028 GB, free: 13.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0447/0.1793, allocations: 4.449 MB / 0.5072 GB, free: 9.496 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.49, allocations: 11.3 kB / 0.5072 GB, free: 9.488 MB / 382.1 MB " [Timeout remaining time 648] (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.238532016985118] Failed to read output from testmodel.py, exit status != 0: 11.605070348829031 11.794415009 11.675791511 Calling exit ...