Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.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.001348/0.001348, allocations: 122.2 kB / 17.89 MB, free: 5.246 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.00162/0.00162, allocations: 203.9 kB / 20.84 MB, free: 2.305 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.487/1.487, 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.0442/0.0442, allocations: 6.137 MB / 316.4 MB, free: 1.176 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.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.BreakersWithLines,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 44.81 kB / 440 MB, free: 40.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09415, allocations: 54.98 MB / 494.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.BreakersWithLines): time 0.002983/0.09714, allocations: 2.93 MB / 497.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.09848, allocations: 0.8602 MB / 498.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.0986, allocations: 8 kB / 498.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000377/0.09898, allocations: 143.2 kB / 498.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.09928, allocations: 143 kB / 499 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.1003, allocations: 0.6692 MB / 499.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.1006, allocations: 318.5 kB / 500 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1008, allocations: 100 kB / 0.4884 GB, free: 5.301 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.408e-05/0.1009, allocations: 143.4 kB / 0.4885 GB, free: 5.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1011, allocations: 195.3 kB / 0.4887 GB, free: 4.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.1012, allocations: 28 kB / 0.4887 GB, free: 4.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.1015, allocations: 191.8 kB / 0.4889 GB, free: 4.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.1015, allocations: 67.77 kB / 0.489 GB, free: 4.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1016, allocations: 163.1 kB / 0.4891 GB, free: 4.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.102, allocations: 478.2 kB / 0.4896 GB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.102, allocations: 0 / 0.4896 GB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.102, allocations: 0 / 0.4896 GB, free: 4.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1021, allocations: 0 / 0.4896 GB, free: 4.059 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002391/0.1044, allocations: 0.904 MB / 0.4905 GB, free: 3.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1045, allocations: 12.03 kB / 0.4905 GB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.224e-05/0.1045, allocations: 8.75 kB / 0.4905 GB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.1046, allocations: 66.72 kB / 0.4906 GB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.518e-05/0.1046, allocations: 40.7 kB / 0.4906 GB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.1049, allocations: 280.5 kB / 0.4909 GB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.1049, allocations: 88.62 kB / 0.4909 GB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.105, allocations: 28.38 kB / 0.491 GB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.1055, allocations: 405.9 kB / 0.4914 GB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1055, allocations: 0 / 0.4914 GB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.1056, allocations: 12 kB / 0.4914 GB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1056, allocations: 8 kB / 0.4914 GB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.1061, allocations: 398.4 kB / 0.4918 GB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.1076, allocations: 1.155 MB / 0.4929 GB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009035/0.1085, allocations: 478.7 kB / 0.4933 GB, free: 40 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003429/0.1088, allocations: 200.8 kB / 0.4935 GB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.738e-05/0.1089, allocations: 11.98 kB / 0.4935 GB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1089, allocations: 34.56 kB / 0.4936 GB, free: 15.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.613e-06/0.1089, allocations: 0 / 0.4936 GB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002929/0.1118, allocations: 1.095 MB / 0.4946 GB, free: 14.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.1119, allocations: 59.39 kB / 0.4947 GB, free: 14.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.1122, allocations: 206.2 kB / 0.4949 GB, free: 14.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.1122, allocations: 33.7 kB / 0.4949 GB, free: 14.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1123, allocations: 156.9 kB / 0.4951 GB, free: 14.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.1124, allocations: 154.6 kB / 0.4952 GB, free: 14.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.1126, allocations: 98.23 kB / 0.4953 GB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1128, allocations: 342.7 kB / 0.4956 GB, free: 13.56 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.1132, allocations: 221 kB / 0.4959 GB, free: 13.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004263/0.1136, allocations: 274.3 kB / 0.4961 GB, free: 13.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007968/0.1144, allocations: 0.495 MB / 0.4966 GB, free: 12.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1144, allocations: 0 / 0.4966 GB, free: 12.56 MB / 366.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00188/0.1163, allocations: 0.7737 MB / 0.4974 GB, free: 11.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1163, allocations: 4 kB / 0.4974 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1163, allocations: 7.938 kB / 0.4974 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.1177, allocations: 305.4 kB / 0.4977 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.118, allocations: 87.83 kB / 0.4977 GB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005205/0.1232, allocations: 3.927 MB / 0.5016 GB, free: 7.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003339/0.1236, allocations: 39.67 kB / 0.5016 GB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.1236, allocations: 16 kB / 0.5016 GB, free: 7.105 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002073/0.1238, allocations: 154.3 kB / 0.5018 GB, free: 6.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.1239, allocations: 31.78 kB / 0.5018 GB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.1258, allocations: 0.7313 MB / 0.5025 GB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1258, allocations: 4 kB / 0.5025 GB, free: 6.168 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1258, allocations: 4 kB / 0.5025 GB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.1258, allocations: 11.98 kB / 0.5025 GB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.1264, allocations: 0.5053 MB / 0.503 GB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1264, allocations: 0 / 0.503 GB, free: 5.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.1267, allocations: 55.91 kB / 0.5031 GB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001353/0.128, allocations: 301.4 kB / 0.5034 GB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.1281, allocations: 15.98 kB / 0.5034 GB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005426/0.1335, allocations: 3.917 MB / 0.5072 GB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1335, allocations: 0 / 0.5072 GB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.1353, allocations: 0.7632 MB / 0.508 GB, free: 256 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.1354, allocations: 104.8 kB / 0.5081 GB, free: 132 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.1354, allocations: 12 kB / 0.5081 GB, free: 120 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.1356, allocations: 11.94 kB / 0.5081 GB, free: 108 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.1358, allocations: 48.31 kB / 0.5081 GB, free: 60 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.1358, allocations: 8.188 kB / 0.5081 GB, free: 52 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.136, allocations: 152.3 kB / 0.5083 GB, free: 15.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.136, allocations: 0 / 0.5083 GB, free: 15.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005743/0.1366, allocations: 131.9 kB / 0.5084 GB, free: 15.77 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: 1 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,88.9%), (3,3,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.1388, allocations: 1.332 MB / 0.5097 GB, free: 14.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.1408, allocations: 0.8311 MB / 0.5105 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1408, allocations: 4.062 kB / 0.5105 GB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0013/0.1421, allocations: 0.5738 MB / 0.5111 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1424, allocations: 31.94 kB / 0.5111 GB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007072/0.1495, allocations: 3.808 MB / 0.5148 GB, free: 8.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004739/0.15, allocations: 0.7764 MB / 0.5156 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001691/0.1501, allocations: 50.92 kB / 0.5156 GB, free: 8.133 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.1503, allocations: 95.39 kB / 0.5157 GB, free: 8.043 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1503, allocations: 0 / 0.5157 GB, free: 8.043 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03358/0.1839, allocations: 8.883 MB / 0.5244 GB, free: 15.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.24, allocations: 8.047 kB / 0.5244 GB, free: 15.29 MB / 398.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_BreakersWithLines.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.BreakersWithLines.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.017842743021902] Failed to read output from testmodel.py, exit status != 0: 11.385518957977183 11.407431008 11.302236754 Calling exit ...