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.001536/0.001536, allocations: 119.9 kB / 17.89 MB, free: 5.047 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.001557/0.001557, allocations: 211.1 kB / 20.84 MB, free: 2.105 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.547/1.547, allocations: 230.6 MB / 254.2 MB, free: 15.09 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.04159/0.04159, allocations: 6.135 MB / 316.4 MB, free: 1.098 MB / 238.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.0015/0.0015, allocations: 51.41 kB / 439.9 MB, free: 40.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09535/0.09685, allocations: 54.98 MB / 494.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.001965/0.09881, allocations: 1.209 MB / 496.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1002, allocations: 1.551 MB / 497.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.75e-05/0.1003, allocations: 0 / 497.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002779/0.1005, allocations: 111.5 kB / 497.8 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.1007, allocations: 75.53 kB / 497.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1019, allocations: 0.883 MB / 498.7 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1021, allocations: 155.2 kB / 498.9 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1022, allocations: 33.83 kB / 498.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.1022, allocations: 63.78 kB / 499 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1024, allocations: 83.61 kB / 499.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1024, allocations: 12 kB / 499.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.1027, allocations: 211.8 kB / 499.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.1027, allocations: 39.8 kB / 499.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.1027, allocations: 67.66 kB / 499.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.1031, allocations: 322.8 kB / 499.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1031, allocations: 0 / 499.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1031, allocations: 0 / 499.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1031, allocations: 0 / 499.7 MB, free: 5.699 MB / 350.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.001585/0.1047, allocations: 0.6391 MB / 0.4886 GB, free: 5.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1047, allocations: 8.031 kB / 0.4886 GB, free: 5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.398e-05/0.1047, allocations: 4.422 kB / 0.4886 GB, free: 4.996 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.1047, allocations: 46.73 kB / 0.4887 GB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.1048, allocations: 20.84 kB / 0.4887 GB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.105, allocations: 228 kB / 0.4889 GB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.105, allocations: 8.609 kB / 0.4889 GB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.105, allocations: 16.38 kB / 0.4889 GB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002522/0.1053, allocations: 175.5 kB / 0.4891 GB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1053, allocations: 0 / 0.4891 GB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1053, allocations: 8 kB / 0.4891 GB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1053, allocations: 3.938 kB / 0.4891 GB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.1055, allocations: 158.5 kB / 0.4893 GB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.1064, allocations: 0.6983 MB / 0.49 GB, free: 3.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.1069, allocations: 182.5 kB / 0.4901 GB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.107, allocations: 84.78 kB / 0.4902 GB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.107, allocations: 15.92 kB / 0.4902 GB, free: 3.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.107, allocations: 38.55 kB / 0.4903 GB, free: 3.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.107, allocations: 0 / 0.4903 GB, free: 3.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00167/0.1087, allocations: 0.5618 MB / 0.4908 GB, free: 2.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.1087, allocations: 51.41 kB / 0.4909 GB, free: 2.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1089, allocations: 169.3 kB / 0.491 GB, free: 2.363 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1089, allocations: 25.7 kB / 0.491 GB, free: 2.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.1089, allocations: 120.3 kB / 0.4912 GB, free: 2.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.109, allocations: 63.45 kB / 0.4912 GB, free: 2.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.109, allocations: 49.66 kB / 0.4913 GB, free: 2.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/0.1091, allocations: 318.8 kB / 0.4916 GB, free: 1.773 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1092, allocations: 95.97 kB / 0.4917 GB, free: 1.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.1093, allocations: 91.97 kB / 0.4918 GB, free: 1.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.1096, allocations: 215.9 kB / 0.492 GB, free: 1.379 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1096, allocations: 0 / 0.492 GB, free: 1.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007325/0.1103, allocations: 374.1 kB / 0.4923 GB, free: 1.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1103, allocations: 6.031 kB / 0.4923 GB, free: 1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1103, allocations: 0 / 0.4923 GB, free: 1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006645/0.111, allocations: 148.6 kB / 0.4925 GB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1111, allocations: 31.98 kB / 0.4925 GB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.1137, allocations: 2.023 MB / 0.4945 GB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.1139, allocations: 15.89 kB / 0.4945 GB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.1139, allocations: 4 kB / 0.4945 GB, free: 14.63 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.0001314/0.114, allocations: 134.2 kB / 0.4946 GB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.917e-05/0.1141, allocations: 11.91 kB / 0.4946 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000941/0.115, allocations: 367.4 kB / 0.495 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.115, allocations: 4 kB / 0.495 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-06/0.115, allocations: 0 / 0.495 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.115, allocations: 3.938 kB / 0.495 GB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.1154, allocations: 301.4 kB / 0.4953 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1154, allocations: 0 / 0.4953 GB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.1155, allocations: 19.94 kB / 0.4953 GB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006428/0.1161, allocations: 136.7 kB / 0.4954 GB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.1161, allocations: 4 kB / 0.4954 GB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/0.1186, allocations: 2.02 MB / 0.4974 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1186, allocations: 0 / 0.4974 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008595/0.1195, allocations: 421.4 kB / 0.4978 GB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.413e-05/0.1195, allocations: 96.95 kB / 0.4979 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.1196, allocations: 4 kB / 0.4979 GB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.1197, allocations: 11.98 kB / 0.4979 GB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.1198, allocations: 11.98 kB / 0.4979 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1198, allocations: 4 kB / 0.4979 GB, free: 10.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.12, allocations: 130.1 kB / 0.498 GB, free: 10.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.12, allocations: 0 / 0.498 GB, free: 10.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.1204, allocations: 63.94 kB / 0.4981 GB, free: 10.68 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 (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.001348/0.1217, allocations: 0.9692 MB / 0.4991 GB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008628/0.1226, allocations: 366.4 kB / 0.4994 GB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1226, allocations: 0 / 0.4994 GB, free: 9.312 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004987/0.1231, allocations: 246.5 kB / 0.4996 GB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.1234, allocations: 18.5 kB / 0.4997 GB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.1271, allocations: 2.39 MB / 0.502 GB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1275, allocations: 0.7153 MB / 0.5027 GB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.917e-05/0.1276, allocations: 17.41 kB / 0.5027 GB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.1277, allocations: 43.42 kB / 0.5027 GB, free: 5.77 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1277, allocations: 4 kB / 0.5027 GB, free: 5.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/0.1561, allocations: 6.02 MB / 0.5086 GB, free: 15.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.45, allocations: 19.25 kB / 0.5086 GB, free: 15.85 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.320445155026391] Failed to read output from testmodel.py, exit status != 0: 12.601019737950992 12.615888831 12.509929082 Calling exit ...